DocumentPaginator.CancelAsync Method (Object)

 
Namespace:   System.Windows.Documents
Assembly:  PresentationCore (in PresentationCore.dll)

public virtual void CancelAsync(
	object userState
)

Parameters

userState
Type: System.Object

The original userState passed to GetPageAsync, DynamicDocumentPaginator.GetPageNumberAsync, or ComputePageCountAsync that identifies the asynchronous task to cancel.

If userState is null, then all asynchronous tasks are cancelled.

.NET Framework
Available since 3.0
Return to top
Show: