IBackgroundOperationContext 인터페이스

정의

서비스 메서드의 실행 컨텍스트에 대한 액세스를 제공합니다.

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일 때 발생하는 이벤트입니다.

적용 대상