다음을 통해 공유


cancellation_token_registration 클래스

cancellation_token_registration 클래스에서 콜백 알림을 나타냅니다는 cancellation_token.

class cancellation_token_registration;

Members

Hh750057.collapse_all(ko-kr,VS.110).gifPublic 생성자

Name

설명

cancellation_token_registration::cancellation_token_registration 생성자

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

cancellation_token_registration::~cancellation_token_registration 소멸자

Destructs는 cancellation_token_registration 개체입니다.

Hh750057.collapse_all(ko-kr,VS.110).gifPublic 연산자

Name

설명

cancellation_token_registration::operator!= 연산자

두 여부를 결정 합니다. cancellation_token_registration 개체는 두 개의 다른 취소 토큰 등록을 나타냅니다.

cancellation_token_registration::operator= 연산자

오버로드.하나의 콘텐츠를 대체 cancellation_token_registration 다른 개체입니다.

cancellation_token_registration::operator== 연산자

두 여부를 결정 합니다. cancellation_token_registration 같은 취소 토큰을 사용 하 여 등록 개체를 나타냅니다.

설명

사용할 때는 register 메서드는 cancellation_token 의 취소가 발생 하면 알림을 받도록는 cancellation_token_registration 콜백에 대 한 핸들을 사용 하 여 특정 콜백을 더 이상 요청할 수 있도록 이루어질 있으므로 개체 반환는 deregister 메서드.

cancellation_token_registration 스마트 포인터 처럼 동작 하 고 안전 하 고 효율적인 해결 값으로 전달 합니다.

상속 계층 구조

cancellation_token_registration

요구 사항

헤더: ppl.h

네임 스페이스: 동시성

참고 항목

참조

동시성 네임스페이스