Microsoft Silverlight will reach end of support after October 2021. Learn more.
Cancels an outstanding asynchronous socket operation for a remote host connection.
Assembly: System.Net (in System.Net.dll)
'Declaration Public Shared Sub CancelConnectAsync ( _ e As SocketAsyncEventArgs _ )
public static void CancelConnectAsync( SocketAsyncEventArgs e )
The e parameter is nulla null reference (Nothing in Visual Basic).
The CancelConnectAsync(SocketAsyncEventArgs) method cancels an asynchronous request for a remote host connection.
Supported in: 5, 4, 3
Silverlight for Windows Phone
Supported in: Windows Phone OS 7.1
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.