ExchangeServiceBinding.SendItem Method
The SendItem method sends the request to and returns the response from a SendItem operation.
Namespace: ExchangeWebServices
Assembly: EWS (in EWS.dll)
Syntax
'Declaration
<SoapHeaderAttribute("RequestServerVersionValue")> _
<SoapHeaderAttribute("ExchangeImpersonation")> _
<SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _
<SoapHeaderAttribute("MailboxCulture")> _
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/SendItem", Use := SoapBindingUse.Literal, _
ParameterStyle := SoapParameterStyle.Bare)> _
Public Function SendItem ( _
SendItem1 As SendItemType _
) As SendItemResponseType
'Usage
Dim instance As ExchangeServiceBinding
Dim SendItem1 As SendItemType
Dim returnValue As SendItemResponseType
returnValue = instance.SendItem(SendItem1)
[SoapHeaderAttribute("RequestServerVersionValue")]
[SoapHeaderAttribute("ExchangeImpersonation")]
[SoapHeaderAttribute("ServerVersionInfoValue", Direction = SoapHeaderDirection.Out)]
[SoapHeaderAttribute("MailboxCulture")]
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/exchange/services/2006/messages/SendItem", Use = SoapBindingUse.Literal,
ParameterStyle = SoapParameterStyle.Bare)]
public SendItemResponseType SendItem(
SendItemType SendItem1
)
Parameters
- SendItem1
Type: ExchangeWebServices.SendItemType
An instance of the SendItemType class that represents the set of items to send.
Return Value
Type: ExchangeWebServices.SendItemResponseType
The SendItem method returns a SendItemResponseType object that contains the status of the SendItem operation.
See Also