WebSocket.IsApplicationTargeting45 Método
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Precaución
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Precaución
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.
Devuelve un valor que indica si la instancia de WebSocket tiene como destino .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 ();
[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("This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.")>]
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
Public Shared Function IsApplicationTargeting45 () As Boolean
true
si tiene WebSocket como destino .NET Framework 4.5; en caso contrario, false
.
- Atributos
Producto | Versiones (Obsoleto) |
---|---|
.NET | (Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9) |
.NET Framework | (4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1) |
Comentarios de .NET
.NET es un proyecto de código abierto. Seleccione un vínculo para proporcionar comentarios: