Class DocumentStatusHelper
Helper class to send events to the client
Inheritance
System.Object
DocumentStatusHelper
Namespace:Microsoft.SqlTools.ServiceLayer.LanguageServices
Assembly:Microsoft.SqlTools.ServiceLayer.dll
Syntax
public class DocumentStatusHelper
Fields
| Improve this Doc View SourceDefinitionRequestCompleted
Declaration
public const string DefinitionRequestCompleted = "DefinitionRequestCompleted"
DefinitionRequested
Declaration
public const string DefinitionRequested = "DefinitionRequested"
Methods
| Improve this Doc View SourceSendStatusChange<T>(RequestContext<T>, TextDocumentPosition, String)
Sends an event for specific document using the existing request context
Declaration
public static void SendStatusChange<T>(RequestContext<T> requestContext, TextDocumentPosition textDocumentPosition, string status)
Parameters
Type | Name | Description |
---|---|---|
RequestContext<T> | requestContext | |
TextDocumentPosition | textDocumentPosition | |
System.String | status |
SendTelemetryEvent<T>(RequestContext<T>, String)
Sends a telemetry event for specific document using the existing request context
Declaration
public static void SendTelemetryEvent<T>(RequestContext<T> requestContext, string telemetryEvent)
Parameters
Type | Name | Description |
---|---|---|
RequestContext<T> | requestContext | |
System.String | telemetryEvent |