AsyncQueryHandler.CancelOperation(Int32) 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.
Attempts to cancel operation that has not already started.
[Android.Runtime.Register("cancelOperation", "(I)V", "")]
public void CancelOperation (int token);
[<Android.Runtime.Register("cancelOperation", "(I)V", "")>]
member this.CancelOperation : int -> unit
Parameters
- token
- Int32
The token representing the operation to be canceled. If multiple operations have the same token they will all be canceled.
- Attributes
Remarks
Attempts to cancel operation that has not already started. Note that there is no guarantee that the operation will be canceled. They still may result in a call to on[Query/Insert/Update/Delete]Complete after this call has completed.
Java documentation for android.content.AsyncQueryHandler.cancelOperation(int)
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.