ExchangeServiceBinding.UnsubscribeAsync Method (UnsubscribeType, Object)
The UnsubscribeAsync method provides asynchronous access to the Unsubscribe Web service method.
Namespace: ExchangeWebServices
Assembly: EWS (in EWS.dll)
Syntax
'Declaration
Public Sub UnsubscribeAsync ( _
Unsubscribe1 As UnsubscribeType, _
userState As Object _
)
'Usage
Dim instance As ExchangeServiceBinding
Dim Unsubscribe1 As UnsubscribeType
Dim userState As Object
instance.UnsubscribeAsync(Unsubscribe1, _
userState)
public void UnsubscribeAsync(
UnsubscribeType Unsubscribe1,
Object userState
)
Parameters
- Unsubscribe1
Type: ExchangeWebServices.UnsubscribeType
The Unsubscribe request.
- userState
Type: System.Object