Cancels an asynchronous request for a remote host connection.
Assembly: System (in System.dll)
'Declaration Public Shared Sub CancelConnectAsync ( _ e As SocketAsyncEventArgs _ )
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.