IBackgroundOperationContext 인터페이스
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
서비스 메서드의 실행 컨텍스트에 대한 액세스를 제공합니다.
public interface class IBackgroundOperationContext : IServiceProvider
public interface IBackgroundOperationContext : IServiceProvider
type IBackgroundOperationContext = interface
interface IServiceProvider
Public Interface IBackgroundOperationContext
Implements IServiceProvider
- 구현
속성
| Arguments |
컨텍스트 속성의 인수에 대한 개체 값을 가져옵니다. |
| IsCancelable |
작업을 취소할 수 있는지 여부를 나타내는 값을 가져오거나 설정합니다. |
| IsCancelRequested |
사용자가 작업 취소를 요청했는지 여부를 나타내는 값을 가져오거나 설정합니다. |
| Progress |
작업의 상태 값을 가져오거나 설정합니다. |
| Status |
현재 작업의 상태를 설명하는 정보 메시지를 가져오거나 설정합니다. |
메서드
| OnError(Exception) |
작업 중에 오류가 발생하면 표시되는 예외를 나타냅니다. |
이벤트
| CancelRequested |
IsCancelRequested가 true일 때 발생하는 이벤트입니다. |