This documentation is archived and is not being maintained.

ExchangeServiceBinding.Unsubscribe Method

Visual Studio 2008

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Sends the request and returns the response to an Unsubscribe operation.

Namespace:  Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007
Assembly:  Microsoft.ServiceModel.Channels.Mail.ExchangeWebService (in Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.dll)

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

Parameters

Unsubscribe1
Type: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007.UnsubscribeType

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

Return Value

Type: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007.UnsubscribeResponseType
An object that contains the result of the Unsubscribe operation.

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Compact Framework

Supported in: 3.5
Show: