ExchangeServiceBinding.CreateAttachment method

The CreateAttachment method sends the request to and gets the response from a CreateAttachment operation.

Namespace:  ExchangeWebServices
Assembly:  EWS (in EWS.dll)

[SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/CreateAttachment", Use = SoapBindingUse.Literal, 
	ParameterStyle = SoapParameterStyle.Bare)]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("TimeZoneContext")]
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapHeaderAttribute("MailboxCulture")]
[SoapHeaderAttribute("RequestServerVersionValue")]
public CreateAttachmentResponseType CreateAttachment(
	CreateAttachmentType CreateAttachment1
)

Parameters

CreateAttachment1
Type: ExchangeWebServices.CreateAttachmentType

An instance of the CreateAttachmentType class that represents the attachments to associate with a parent item.

Return value

Type: ExchangeWebServices.CreateAttachmentResponseType
The CreateAttachment method returns a CreateAttachmentType object that contains the status of the CreateAttachment operation.
Show: