다음을 통해 공유


WebSocket.IsApplicationTargeting45 메서드

정의

주의

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

주의

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.

WebSocket instance .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

반환

trueWebSocket .NET Framework 4.5를 대상으로 하는 경우 이고, false그렇지 않으면 입니다.

특성

적용 대상