ExchangeServiceBinding.CancelAsync Method
Requests cancellation of a pending background operation.
Namespace: Microsoft.SharePoint.Portal.WebControls
Assembly: Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)
Syntax
'Declaration
Public Sub CancelAsync ( _
userState As Object _
)
'Usage
Dim instance As ExchangeServiceBinding
Dim userState As Object
instance.CancelAsync(userState)
public void CancelAsync(
Object userState
)
Parameters
- userState
Type: System.Object
Specifies the user state when the request cancellation occurs.
Remarks
CancelAsync submits a request to terminate the pending background operation and sets the CancellationPending property to true.