ExchangeServiceBinding.GetAttachment Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
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 GetAttachment operation.
Namespace: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007
Assembly: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService (in Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.dll)
Syntax
'Declaration
<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
'Usage
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
)
[<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")>]
member GetAttachment :
GetAttachment1:GetAttachmentType -> GetAttachmentResponseType
Parameters
- GetAttachment1
Type: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007.GetAttachmentType
An instance of the GetAttachmentType class that represents the set of attachments to get.
Return Value
Type: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007.GetAttachmentResponseType
An object that contains the status of the GetAttachment operation and the set of requested attachments.
.NET Framework Security
- 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.
Platforms
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.
Version Information
.NET Compact Framework
Supported in: 3.5
See Also
Reference
ExchangeServiceBinding Members
Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007 Namespace