public static void SetContainerPassthru(
Socket socket,
bool value
)
Public Shared Sub SetContainerPassthru (
socket As Socket,
value As Boolean
)
public:
static void SetContainerPassthru(
Socket^ socket,
bool value
)
static member SetContainerPassthru :
socket : Socket *
value : bool -> unit
This socket option was introduced in Windows 10, version 1607 (build 14393), and was removed 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. |