ExchangeServiceBinding.BeginDeleteAttachment Method
The BeginDeleteAttachment method is used to begin an asynchronous DeleteAttachment call.
Namespace: ExchangeWebServices
Assembly: EWS (in EWS.dll)
Syntax
'Declaration
Public Function BeginDeleteAttachment ( _
DeleteAttachment1 As DeleteAttachmentType, _
callback As AsyncCallback, _
asyncState As Object _
) As IAsyncResult
'Usage
Dim instance As ExchangeServiceBinding
Dim DeleteAttachment1 As DeleteAttachmentType
Dim callback As AsyncCallback
Dim asyncState As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginDeleteAttachment(DeleteAttachment1, _
callback, asyncState)
public IAsyncResult BeginDeleteAttachment(
DeleteAttachmentType DeleteAttachment1,
AsyncCallback callback,
Object asyncState
)
Parameters
- DeleteAttachment1
Type: ExchangeWebServices.DeleteAttachmentType
- callback
Type: System.AsyncCallback
- asyncState
Type: System.Object
Return Value
Type: System.IAsyncResult
The BeginDeleteAttachment method returns an IAsyncResult object.