Socket.CancelConnectAsync Method (SocketAsyncEventArgs)
Cancels an asynchronous request for a remote host connection.
Assembly: System (in System.dll)
The e parameter cannot be null and the SocketAsyncEventArgs.RemoteEndPoint cannot be null.
An error occurred when attempting to access the socket.
The Socket has been closed.
A caller higher in the call stack does not have permission for the requested operation.
Themethod cancels an asynchronous request for a remote host connection.
Available since 10
Available since 4.0
Available since 2.0
Windows Phone Silverlight
Available since 7.1