语言

SocketsHttpHandler.IsSupported 属性

定义

获取一个值,该值指示当前平台上是否支持处理程序。

public:
 static property bool IsSupported { bool get(); };
[System.Runtime.Versioning.UnsupportedOSPlatformGuard("browser")]
public static bool IsSupported { get; }
public static bool IsSupported { get; }
[<System.Runtime.Versioning.UnsupportedOSPlatformGuard("browser")>]
static member IsSupported : bool
static member IsSupported : bool
Public Shared ReadOnly Property IsSupported As Boolean

属性值

true 如果支持处理程序,则为 ;否则,为 false.

特性

适用于