Compartir a través de


ExchangeServiceBinding.GetAttachment (Método)

Actualización: noviembre 2007

Esta API es compatible con la infraestructura de .NET Framework y no está diseñada para utilizarse directamente desde el código.

Envía la solicitud y obtiene la respuesta a una operación GetAttachment.

Espacio de nombres:  Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007
Ensamblado:  Microsoft.ServiceModel.Channels.Mail.ExchangeWebService (en Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.dll)

Sintaxis

'Declaración
<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 devuelto

Tipo: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007.GetAttachmentResponseType
Objeto que contiene el estado de la operación GetAttachment y el conjunto de datos adjuntos solicitados.

Permisos

Plataformas

Windows CE, Windows Mobile para Smartphone, Windows Mobile para Pocket PC

.NET Framework y .NET Compact Framework no admiten todas las versiones de cada plataforma. Para obtener una lista de las versiones compatibles, vea Requisitos de sistema de .NET Framework.

Información de versión

.NET Compact Framework

Compatible con: 3.5

Vea también

Referencia

ExchangeServiceBinding (Clase)

ExchangeServiceBinding (Miembros)

Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007 (Espacio de nombres)