| Visual Basic (Declaration) | |
|---|---|
Public Sub CancelAsync() | |
| C# | |
|---|---|
public void CancelAsync() | |
If an operation is pending, this method calls Abort on the underlying WebRequest.
Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family, Windows 7