public static void SetHighVtl(
Socket socket,
bool value
)
Public Shared Sub SetHighVtl (
socket As Socket,
value As Boolean
)
public:
static void SetHighVtl(
Socket^ socket,
bool value
)
static member SetHighVtl :
socket : Socket *
value : bool -> unit
This socket option was introduced in Windows 11, version 22h2 (build 22621).
The behavior of this function is undefined if the socket is not a Hyper-V socket.
ArgumentNullException | socket is . |
ObjectDisposedException | The Socket object has been closed. |
SocketException | An error occurred when attempting to access the socket. |