DocumentPaginator.CancelAsync(Object) 方法

定义

取消前一个 GetPageAsyncGetPageNumberAsync 操作。

public:
 virtual void CancelAsync(System::Object ^ userState);
public virtual void CancelAsync (object userState);
abstract member CancelAsync : obj -> unit
override this.CancelAsync : obj -> unit
Public Overridable Sub CancelAsync (userState As Object)

参数

userState
Object

传递给 GetPageAsyncGetPageNumberAsyncComputePageCountAsync 以标识要取消的异步任务的原始 userState

注解

null如果是userState,则取消所有异步任务。

适用于