Method CancelCancel()Cancels all pending background tasks. Declaration Full screenpublic void Cancel()