Home | History | Annotate | Download | only in src

Lines Matching refs:Canceled

174 ///     A type that represents the terminal state of a task. Valid values are <c>completed</c> and <c>canceled</c>.
186 /// the token source associated with that token is canceled.
195 /// the <c>canceled</c> state. If you do not respond and continue execution, or return instead of calling
220 /// task's execution and cause it to enter the <c>canceled</c> state. While it may be used in response to
1048 /// waited on or canceled after scheduling.
2324 // It will log the cancel event but not canceled state. _LogTaskCompleted will log the terminal state, which includes cancel state.
2628 // if the task collection itself were canceled, or had encountered an exception, only the first
2651 // the exception and canceled the task. Swallow the exception here.
2696 return Concurrency::canceled;
2706 /// was registered with were canceled with an exception. A synchronous cancel is one that assures the task could not be running on a different thread at
2730 // This task was canceled because an ancestor task encountered an exception.
2736 // This task was canceled because the task body encountered an exception.
2746 // This task was canceled because the task body encountered an exception.
2894 // the exception and canceled the task. Swallow the exception here.
2905 // and the task should be canceled with exception. Swallow the exception here.
2938 // If the ancestor was canceled, then your own execution should be canceled.
2945 // This can only run when the ancestor has completed or it's a task based continuation that fires when a task is canceled
2953 // If it has been canceled here (before starting), do nothing. The guy firing cancel will do the clean up.
2994 // the exception and mark the continuation as canceled with the appropriate exception. There is one slight hitch to this:
3042 // If the task has canceled, cancel the continuation. If the task has completed, execute the continuation right away.
3080 // If the ancestor was canceled, then your own execution should be canceled.
3187 if (_Status == ABI::Windows::Foundation::AsyncStatus::Canceled)
3224 // of whether or not the _OuterTask task is canceled.
3326 _State = ::Windows::Foundation::AsyncStatus::Canceled;
3371 // We should not be canceled with an exception more than once.
3410 // They are canceled when they begin running (see _RunContinuation) and see that their
3411 // ancestor has been canceled.
3447 // We will only try to cancel async operation but not unwrapped tasks, since unwrapped tasks cannot be canceled without its token.
3529 // Canceled state could only result from antecedent task's canceled state, but that code path will not reach here.
3545 // Cancel the async operation if the task itself is canceled, since the thread that canceled the task missed it.
3608 // Cancel the tasks since the event was never signaled or canceled.
3663 /// <para>If the task completion event is never signaled, any tasks created from it will be canceled when it is destructed.</para>
3784 /// Internal method to cancel the task_completion_event. Any task created using this event will be marked as canceled if it has
3794 /// Internal method to cancel the task_completion_event with the exception provided. Any task created using this event will be canceled
3825 /// can bet set() successfully. If it is canceled, it will cancel with the stored exception, if one is present.
3846 /// Tests whether current event has been either Set, or Canceled.
3965 canceled when it is destructed.</para>
4020 /// Cancel the task_completion_event. Any task created using this event will be marked as canceled if it has
4029 /// Cancel the task_completion_event with the exception holder provided. Any task created using this event will be canceled
4040 /// can bet set() successfully. If it is canceled, it will cancel with the stored exception, if one is present.
4048 /// Test whether current event has been either Set, or Canceled.
4162 /// A task can be waited upon and canceled independently of other tasks. It can also be composed with other tasks using
4191 /// <para>The version of the constructor that takes a cancellation token creates a task that can be canceled using the
4223 /// The cancellation token to associate with this task. A task created without a cancellation token cannot be canceled. It implicitly receives
4232 /// <para>The version of the constructor that takes a cancellation token creates a task that can be canceled using the
4281 /// The cancellation token to associate with this task. A task created without a cancellation token cannot be canceled. It implicitly receives
4290 /// <para>The version of the constructor that takes a cancellation token creates a task that can be canceled using the
4339 /// <para>The version of the constructor that takes a cancellation token creates a task that can be canceled using the
4366 /// <para>The version of the constructor that takes a cancellation token creates a task that can be canceled using the
4583 /// A <c>task_status</c> value which could be either <c>completed</c> or <c>canceled</c>. If the task encountered an exception
4605 /// If the task is canceled, a call to <c>get</c> will throw a <see cref="task_canceled Class">task_canceled</see> exception. If the task
4616 if (_M_Impl->_Wait() == Concurrency::canceled)
4631 /// The function returns true if the task is completed or canceled (with or without user exception).
5058 // If the ancestor was canceled, then your own execution should be canceled.
5432 // an exception handling continuation. In that case, we break the chain with a _None. That continuation is never canceled unless the user
5479 /// A task can be waited upon and canceled independently of other tasks. It can also be composed with other tasks using
5505 /// <para>The version of the constructor that takes a cancellation token creates a task that can be canceled using the
5542 /// <para>The version of the constructor that takes a cancellation token creates a task that can be canceled using the
5581 /// The cancellation token to associate with this task. A task created without a cancellation token cannot be canceled. It implicitly receives
5590 /// <para>The version of the constructor that takes a cancellation token creates a task that can be canceled using the
5638 /// <para>The version of the constructor that takes a cancellation token creates a task that can be canceled using the
5665 /// <para>The version of the constructor that takes a cancellation token creates a task that can be canceled using the
5877 /// A <c>task_status</c> value which could be either <c>completed</c> or <c>canceled</c>. If the task encountered an exception
5891 /// If the task is canceled, a call to <c>get</c> will throw a <see cref="task_canceled Class">task_canceled</see> exception. If the task
5908 /// The function returns true if the task is completed or canceled (with or without user exception).
6212 /// The cancellation token to associate with the task. When the source for this token is canceled, cancellation will be requested on the task.
6376 _AsyncCanceled = ABI::Windows::Foundation::AsyncStatus::Canceled, // 2
8129 // _Cancel will return false if the TCE is already canceled with or without exception
8571 /// If one of the tasks is canceled or throws an exception, the returned task will complete early, in the canceled state, and the exception,
8608 /// If one of the tasks is canceled or throws an exception, the returned task will complete early, in the canceled state, and the exception,
8650 /// If one of the tasks is canceled or throws an exception, the returned task will complete early, in the canceled state, and the exception,
8682 /// If one of the tasks is canceled or throws an exception, the returned task will complete early, in the canceled state, and the exception,
8713 /// If one of the tasks is canceled or throws an exception, the returned task will complete early, in the canceled state, and the exception,
8744 /// If one of the tasks is canceled or throws an exception, the returned task will complete early, in the canceled state, and the exception,
8776 /// If one of the tasks is canceled or throws an exception, the returned task will complete early, in the canceled state, and the exception,
9130 /// If both of the tasks are canceled or throw exceptions, the returned task will complete in the canceled state, and one of the exceptions,
9216 /// If both of the tasks are canceled or throw exceptions, the returned task will complete in the canceled state, and one of the exceptions,
9318 /// If both of the tasks are canceled or throw exceptions, the returned task will complete in the canceled state, and one of the exceptions,
9350 /// If both of the tasks are canceled or throw exceptions, the returned task will complete in the canceled state, and one of the exceptions,