Metodo ExchangeServiceBinding.CreateAttachment
Aggiornamento: novembre 2007
Questa API supporta l'infrastruttura .NET Framework e non deve essere utilizzata direttamente dal codice.
Invia la richiesta e ottiene la risposta a un'operazione CreateAttachment.
Spazio dei nomi: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007
Assembly: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService (in Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.dll)
Sintassi
'Dichiarazione
<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
'Utilizzo
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
Parametri
CreateAttachment1
Tipo: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007.CreateAttachmentTypeIstanza della classe CreateAttachmentType che rappresenta gli allegati da associare a un elemento padre.
Valore restituito
Tipo: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007.CreateAttachmentResponseType
Oggetto che contiene lo stato dell'operazione CreateAttachment.
Autorizzazioni
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per ulteriori informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.
Piattaforme
Windows CE, Windows Mobile per Smartphone, Windows Mobile per Pocket PC
.NET Framework e .NET Compact Framework non supportano tutte le versioni di ciascuna piattaforma. Per un elenco delle versioni supportate, vedere Requisiti di sistema di .NET Framework.
Informazioni sulla versione
.NET Compact Framework
Supportato in: 3.5
Vedere anche
Riferimenti
Spazio dei nomi Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007