ExchangeServiceBinding.Unsubscribe Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

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)

Syntax

'Declaration
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/Unsubscribe", Use := SoapBindingUse.Literal,  _
    ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
Public Function Unsubscribe ( _
    Unsubscribe1 As UnsubscribeType _
) As UnsubscribeResponseType
'Usage
Dim instance As ExchangeServiceBinding
Dim Unsubscribe1 As UnsubscribeType
Dim returnValue As UnsubscribeResponseType

returnValue = instance.Unsubscribe(Unsubscribe1)
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapDocumentMethodAttribute("https://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
)
[SoapHeaderAttribute(L"ExchangeImpersonation")]
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/exchange/services/2006/messages/Unsubscribe", Use = SoapBindingUse::Literal, 
    ParameterStyle = SoapParameterStyle::Bare)]
[SoapHeaderAttribute(L"ServerVersionInfoValue", Direction = SoapHeaderDirection::Out)]
[SoapHeaderAttribute(L"MailboxCulture")]
[SoapHeaderAttribute(L"SerializedSecurityContext")]
public:
UnsubscribeResponseType^ Unsubscribe(
    UnsubscribeType^ Unsubscribe1
)
[<SoapHeaderAttribute("ExchangeImpersonation")>]
[<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/Unsubscribe", Use = SoapBindingUse.Literal, 
    ParameterStyle = SoapParameterStyle.Bare)>]
[<SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)>]
[<SoapHeaderAttribute("MailboxCulture")>]
[<SoapHeaderAttribute("SerializedSecurityContext")>]
member Unsubscribe : 
        Unsubscribe1:UnsubscribeType -> UnsubscribeResponseType 

Parameters

Return Value

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

.NET Framework Security

Platforms

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.

Version Information

.NET Compact Framework

Supported in: 3.5

See Also

Reference

ExchangeServiceBinding Class

ExchangeServiceBinding Members

Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007 Namespace