다음을 통해 공유


task_canceled 클래스

이 클래스는 현재 작업을 강제 취소하도록 PPL 작업 레이어에서 throw된 예외를 설명합니다. 또한 취소된 작업의 경우 작업에서 get() 메서드에 의해 throw됩니다.

class task_canceled : public std::exception;

멤버

Public 생성자

Name

설명

task_canceled::task_canceled 생성자

오버로드됨. task_canceled 개체를 생성합니다.

상속 계층

exception

task_canceled

요구 사항

헤더: concrt.h

네임스페이스: 동시성

참고 항목

참조

동시성 네임스페이스

task::get 메서드

cancel_current_task 함수