This documentation is archived and is not being maintained.
ExchangeServiceBinding.CreateAttachment Method
Visual Studio 2008
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Sends the request and gets the response to a CreateAttachment operation.
Assembly: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService (in Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.dll)
'Declaration <SoapDocumentMethodAttribute("http://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 'Usage Dim instance As ExchangeServiceBinding Dim CreateAttachment1 As CreateAttachmentType Dim returnValue As CreateAttachmentResponseType returnValue = instance.CreateAttachment(CreateAttachment1)
Parameters
- CreateAttachment1
- Type: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007.CreateAttachmentType
An instance of the CreateAttachmentType class that represents the attachments to associate with a parent item.
Return Value
Type: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007.CreateAttachmentResponseTypeAn object that contains the status of the CreateAttachment operation.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: