Skip to main content

IAsyncExportService.BeginClearDocument(DocumentId, AsyncCallback, Object) Method

Starts clearing the content of the specified document.

Namespace: DevExpress.DocumentServices.ServiceModel.Client

Assembly: DevExpress.Printing.v24.1.Core.dll

NuGet Package: DevExpress.Printing.Core

Declaration

[OperationContract(AsyncPattern = true)]
IAsyncResult BeginClearDocument(
    DocumentId documentId,
    AsyncCallback callback,
    object asyncState
)

Parameters

Name Type Description
documentId DocumentId

A DocumentId object, identifying the document.

callback AsyncCallback

References a method to be called when a corresponding asynchronous operation is completed.

asyncState Object

A Object value, containing information about the asynchronous operation.

Returns

Type Description
IAsyncResult

An object containing information about the status of an asynchronous operation.

See Also