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