RunOnContextAttribute Class

Definition

Export attribute which can be used to signify that a language client will only be activated in certain LiveShare context.

C++
public ref class RunOnContextAttribute : Attribute
Inheritance
RunOnContextAttribute
Attributes

Remarks

When the client is only made to run on Host and not activated on the Guest side this attibute is set to RunOnHost to avoid mirroing the results over LiveShare. This attribute is currently used to support LiveShare scenarios.

Constructors

RunOnContextAttribute(RunningContext)

Initializes a new instance of the RunOnContextAttribute class.

Properties

RunOnContext

Gets a value indicating the context in which the client can be activated.

Applies to

Product Versions
Visual Studio SDK 2022