Compartilhar via


Método ExchangeServiceBinding.GetAttachment

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 recebe a resposta a um GetAttachment 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
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/GetAttachment", Use := SoapBindingUse.Literal,  _
    ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
Public Function GetAttachment ( _
    GetAttachment1 As GetAttachmentType _
) As GetAttachmentResponseType
'Uso
Dim instance As ExchangeServiceBinding
Dim GetAttachment1 As GetAttachmentType
Dim returnValue As GetAttachmentResponseType

returnValue = instance.GetAttachment(GetAttachment1)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/GetAttachment", Use = SoapBindingUse.Literal, 
    ParameterStyle = SoapParameterStyle.Bare)]
[SoapHeaderAttribute("MailboxCulture")]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("SerializedSecurityContext")]
[SoapHeaderAttribute("ExchangeImpersonation")]
public GetAttachmentResponseType GetAttachment(
    GetAttachmentType GetAttachment1
)
[SoapDocumentMethodAttribute(L"https://schemas.microsoft.com/exchange/services/2006/messages/GetAttachment", Use = SoapBindingUse::Literal, 
    ParameterStyle = SoapParameterStyle::Bare)]
[SoapHeaderAttribute(L"MailboxCulture")]
[SoapHeaderAttribute(L"ServerVersionInfoValue", Direction = SoapHeaderDirection::Out)]
[SoapHeaderAttribute(L"SerializedSecurityContext")]
[SoapHeaderAttribute(L"ExchangeImpersonation")]
public:
GetAttachmentResponseType^ GetAttachment(
    GetAttachmentType^ GetAttachment1
)
public function GetAttachment(
    GetAttachment1 : GetAttachmentType
) : GetAttachmentResponseType

Parâmetros

Valor de retorno

Tipo: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007.GetAttachmentResponseType
Um objeto que contém o status do GetAttachment operação e o conjunto de anexos solicitados.

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