OperationCanceledException.CancellationToken 속성
정의
취소한 작업과 연결된 취소 토큰을 가져옵니다.Gets a token associated with the operation that was canceled.
public:
property System::Threading::CancellationToken CancellationToken { System::Threading::CancellationToken get(); };
public System.Threading.CancellationToken CancellationToken { get; }
member this.CancellationToken : System.Threading.CancellationToken
Public ReadOnly Property CancellationToken As CancellationToken
속성 값
취소한 작업과 연결된 토큰 또는 기본 토큰입니다.A token associated with the operation that was canceled, or a default token.
설명
토큰이 취소 된 작업과 연결 된 경우 CancellationToken.IsCancellationRequested 토큰의 속성이를 반환 true
합니다.If the token is associated with a canceled operation, the CancellationToken.IsCancellationRequested property of the token returns true
.