Compartilhar via


Método ExchangeServiceBinding.Unsubscribe

Esta API oferece suporte à infraestrutura .NET Framework e não se destina a ser usada diretamente do seu código.

Envia a solicitação e retorna a resposta a um Unsubscribe operação.

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

Sintaxe

'Declaração
<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
'Uso
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
)
public function Unsubscribe(
    Unsubscribe1 : UnsubscribeType
) : UnsubscribeResponseType

Parâmetros

Valor de retorno

Tipo: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007.UnsubscribeResponseType
Um objeto que contém o resultado do Unsubscribe operação.

Permissões

Plataformas

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

o.NET Framework e.NET Compact Framework não oferecem suporte a todas as versões de cada plataforma. Para obter uma lista de versões suportadas, consulte Requisitos de sistema do .NET framework.

Informações sobre versão

.NET Compact Framework

Compatível com: 3.5

Consulte também

Referência

ExchangeServiceBinding Classe

Membros ExchangeServiceBinding

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