Compartir a través de


ExchangeServiceBinding.CreateAttachment (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 CreateAttachment.

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/CreateAttachment", Use := SoapBindingUse.Literal,  _
    ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
Public Function CreateAttachment ( _
    CreateAttachment1 As CreateAttachmentType _
) As CreateAttachmentResponseType
'Uso
Dim instance As ExchangeServiceBinding
Dim CreateAttachment1 As CreateAttachmentType
Dim returnValue As CreateAttachmentResponseType

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

Parámetros

Valor devuelto

Tipo: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007.CreateAttachmentResponseType
Objeto que contiene el estado de la operación CreateAttachment.

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)