WebSocket.IsApplicationTargeting45 Método
Definição
Cuidado
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Cuidado
This is just a temporary workaround until the CLR provides a public (but hidden) API to check whether an application is targeting 4.5. So don't take a dependency on it.
Cuidado
Esta API agora é obsoleta.
Retorna um valor que indica se a instância WebSocket está direcionando .NET Framework 4,5.Returns a value that indicates if the WebSocket instance is targeting .NET Framework 4.5.
public:
static bool IsApplicationTargeting45();
[System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.")]
public static bool IsApplicationTargeting45 ();
public static bool IsApplicationTargeting45 ();
[System.Obsolete("This is just a temporary workaround until the CLR provides a public (but hidden) API to check whether an application is targeting 4.5. So don't take a dependency on it.")]
public static bool IsApplicationTargeting45 ();
[System.Obsolete]
public static bool IsApplicationTargeting45 ();
[<System.Obsolete("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.")>]
static member IsApplicationTargeting45 : unit -> bool
static member IsApplicationTargeting45 : unit -> bool
[<System.Obsolete("This is just a temporary workaround until the CLR provides a public (but hidden) API to check whether an application is targeting 4.5. So don't take a dependency on it.")>]
static member IsApplicationTargeting45 : unit -> bool
[<System.Obsolete>]
static member IsApplicationTargeting45 : unit -> bool
Public Shared Function IsApplicationTargeting45 () As Boolean
Retornos
true Se o WebSocket estiver se concentrando .NET Framework 4,5; caso contrário, false .true if the WebSocket is targeting .NET Framework 4.5; otherwise, false.
- Atributos