DocumentPaginator.CancelAsync(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Cancels a previous GetPageAsync or GetPageNumberAsync operation.
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)
Parameters
- userState
- Object
The original userState
passed to GetPageAsync, GetPageNumberAsync, or ComputePageCountAsync that identifies the asynchronous task to cancel.
Remarks
If userState
is null
, then all asynchronous tasks are cancelled.
Applies to
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.