This documentation is archived and is not being maintained.
ExchangeServiceBinding.DeleteItem 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 DeleteItem operation.
Assembly: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService (in Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.dll)
'Declaration <SoapHeaderAttribute("MailboxCulture")> _ <SoapDocumentMethodAttribute("http://schemas.microsoft.com/exchange/services/2006/messages/DeleteItem", Use := SoapBindingUse.Literal, _ ParameterStyle := SoapParameterStyle.Bare)> _ <SoapHeaderAttribute("ExchangeImpersonation")> _ <SoapHeaderAttribute("ServerVersionInfoValue", Direction := SoapHeaderDirection.Out)> _ <SoapHeaderAttribute("SerializedSecurityContext")> _ Public Function DeleteItem ( _ DeleteItem1 As DeleteItemType _ ) As DeleteItemResponseType 'Usage Dim instance As ExchangeServiceBinding Dim DeleteItem1 As DeleteItemType Dim returnValue As DeleteItemResponseType returnValue = instance.DeleteItem(DeleteItem1)
Parameters
- DeleteItem1
- Type: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007.DeleteItemType
An instance of the DeleteItemType class that represents the items to delete.
Return Value
Type: Microsoft.ServiceModel.Channels.Mail.ExchangeWebService.Exchange2007.DeleteItemResponseTypeAn object that contains the status of the DeleteItem 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: