IBackgroundOperationContext Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |