다음을 통해 공유


cancellation_token_source::cancel 메서드

토큰을 취소합니다. 토큰을 이용하는 task_group, structured_task_group 또는 task는 이 호출 시 취소되며 다음 중단점에서 예외를 throw합니다.

void cancel() const;

요구 사항

헤더: pplcancellation_token.h

네임스페이스: 동시성

참고 항목

참조

cancellation_token_source 클래스