Udostępnij za pośrednictwem


DisableUserExperienceAttribute Class

Definition

Export attribute which can be used to signify that a language client can disable user experience and editor interactions. Such a client will not be loaded by default, and will only be exposed via a LiveShare exposed interface.

public ref class DisableUserExperienceAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class)]
[System.ComponentModel.Composition.MetadataAttribute]
public class DisableUserExperienceAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class)>]
[<System.ComponentModel.Composition.MetadataAttribute>]
type DisableUserExperienceAttribute = class
    inherit Attribute
Public Class DisableUserExperienceAttribute
Inherits Attribute
Inheritance
DisableUserExperienceAttribute
Attributes

Remarks

When the client UX is disabled, the consumer of this attribute is responsible for manually activating the client and corresponding server via LoadAsync(ILanguageClientMetadata, ILanguageClient). This attribute is currently used to support LiveShare scenarios.

Constructors

DisableUserExperienceAttribute(Boolean)

Initializes a new instance of the DisableUserExperienceAttribute class.

Properties

DisableUserExperience

Gets a value indicating whether a language client is disabling User Experience.

Applies to