Compartilhar via


Método ExchangeServiceBinding.SendItem

Esta API oferece suporte à infraestrutura .NET Framework e não se destina a ser usada diretamente do seu código.

Envia a solicitação e retorna a resposta a um SendItem operação.

Namespace:  Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007
Assembly:  Microsoft.ServiceModel.Channels.Mail.ExchangeWebService (em Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.dll)

Sintaxe

'Declaração
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/SendItem", Use := SoapBindingUse.Literal,  _
    ParameterStyle := SoapParameterStyle.Bare)> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("SerializedSecurityContext")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("MailboxCulture")> _
Public Function SendItem ( _
    SendItem1 As SendItemType _
) As SendItemResponseType
'Uso
Dim instance As ExchangeServiceBinding
Dim SendItem1 As SendItemType
Dim returnValue As SendItemResponseType

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

Parâmetros

Valor de retorno

Tipo: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007.SendItemResponseType
Um objeto que contém o status do SendItem operação.

Permissões

Plataformas

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

o.NET Framework e.NET Compact Framework não oferecem suporte a todas as versões de cada plataforma. Para obter uma lista de versões suportadas, consulte Requisitos de sistema do .NET framework.

Informações sobre versão

.NET Compact Framework

Compatível com: 3.5

Consulte também

Referência

ExchangeServiceBinding Classe

Membros ExchangeServiceBinding

Namespace Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007