ExchangeServiceBinding.Unsubscribe method

The Unsubscribe method sends the request to and returns the response from an Unsubscribe operation.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

[SoapHeaderAttribute("MailboxCulture")]
[SoapHeaderAttribute("RequestServerVersionValue")]
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/Unsubscribe", Use = SoapBindingUse.Literal, 
	ParameterStyle = SoapParameterStyle.Bare)]
public UnsubscribeResponseType Unsubscribe(
	UnsubscribeType Unsubscribe1
)

Parameters

Unsubscribe1
Type: ExchangeWebServices.UnsubscribeType

An instance of the UnsubscribeType class that represents the subscription to cancel.

Return value

Type: ExchangeWebServices.UnsubscribeResponseType
The Unsubscribe method returns an UnsubscribeResponseType object that contains the result of the Unsubscribe operation.
Show: