Share via


CommandExecutionContext.WaitContext Property

Definition

Caution

WaitContext property is deprecated and will be removed, please use OperationContext instead.

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 ^ WaitContext { Microsoft::VisualStudio::Utilities::IUIThreadOperationContext ^ get(); };
[System.Obsolete("WaitContext property is deprecated and will be removed, please use OperationContext instead.")]
public Microsoft.VisualStudio.Utilities.IUIThreadOperationContext WaitContext { get; }
[<System.Obsolete("WaitContext property is deprecated and will be removed, please use OperationContext instead.")>]
member this.WaitContext : Microsoft.VisualStudio.Utilities.IUIThreadOperationContext
Public ReadOnly Property WaitContext As IUIThreadOperationContext

Property Value

Attributes

Applies to