IBackgroundOperationContext Interface

 

Provides access to the execution context of a service method.

Namespace:   Microsoft.SqlServer.Management.TaskForms
Assembly:  Microsoft.SqlServer.Management.SDK.SqlStudio (in Microsoft.SqlServer.Management.SDK.SqlStudio.dll)

public interface class IBackgroundOperationContext : IServiceProvider

NameDescription
System_CAPS_pubpropertyArguments

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

System_CAPS_pubpropertyIsCancelable

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

System_CAPS_pubpropertyIsCancelRequested

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

System_CAPS_pubpropertyProgress

Gets or sets the status value of the operation.

System_CAPS_pubpropertyStatus

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

NameDescription
System_CAPS_pubmethodGetService(Type^)

(Inherited from IServiceProvider.)

System_CAPS_pubmethodOnError(Exception^)

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

NameDescription
System_CAPS_pubeventCancelRequested

An event that fires when IsCancelRequested is true.

Return to top
Show: