IBackgroundOperationContext Interface

Definition

Provides access to the execution context of a service method.

public interface class IBackgroundOperationContext : IServiceProvider
public interface IBackgroundOperationContext : IServiceProvider
type IBackgroundOperationContext = interface
    interface IServiceProvider
Public Interface IBackgroundOperationContext
Implements IServiceProvider
Implements

Properties

Arguments

Gets the object value for the arguments in the context property.

IsCancelable

Gets or sets a value indicating whether the operation can be cancelled.

IsCancelRequested

Gets or sets a value indicating whether the user requested to cancel the operation.

Progress

Gets or sets the status value of the operation.

Status

Gets or sets the information message describing the status of the current operation.

Methods

OnError(Exception)

Indicates an exception that appears when the error occurs during the operation.

Events

CancelRequested

An event that fires when IsCancelRequested is true.

Applies to