Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
DeleteItem Method

ExchangeServiceBinding.DeleteItem Method

.NET Framework 3.5

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.

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

[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 DeleteItemResponseType DeleteItem(
	DeleteItemType 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.DeleteItemResponseType
An object that contains the status of the DeleteItem operation.

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.

.NET Compact Framework

Supported in: 3.5

Community Additions

ADD
Show:
© 2015 Microsoft