RunOnContextAttribute Class
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.
Export attribute which can be used to signify that a language client will only be activated in certain LiveShare context.
public ref class RunOnContextAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class)]
[System.ComponentModel.Composition.MetadataAttribute]
public class RunOnContextAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type RunOnContextAttribute = class
inherit Attribute
Public Class RunOnContextAttribute
Inherits Attribute
- Inheritance
-
RunOnContextAttribute
- Attributes
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.
Run |
Initializes a new instance of the RunOnContextAttribute class. |
Run |
Gets a value indicating the context in which the client can be activated. |
Product | Versions |
---|---|
Visual Studio SDK | 2022 |