共用方式為


CommandExecutionContext.OperationContext Property

Definition

Provides a context of executing a command handler on the UI thread, which enables two way shared cancellability and wait indication.

public:
 property Microsoft::VisualStudio::Utilities::IUIThreadOperationContext ^ OperationContext { Microsoft::VisualStudio::Utilities::IUIThreadOperationContext ^ get(); };
public Microsoft.VisualStudio.Utilities.IUIThreadOperationContext OperationContext { get; }
member this.OperationContext : Microsoft.VisualStudio.Utilities.IUIThreadOperationContext
Public ReadOnly Property OperationContext As IUIThreadOperationContext

Property Value

Applies to