Udostępnij przez


LanguageServerOutput.CreateInternalServerErrorOutput(String, String) Method

Definition

Creates a new instance of LanguageServerOutput with the given internal server error.

public static Microsoft.PowerFx.LanguageServerProtocol.LanguageServerOutput CreateInternalServerErrorOutput(string id, string message = default);
static member CreateInternalServerErrorOutput : string * string -> Microsoft.PowerFx.LanguageServerProtocol.LanguageServerOutput
Public Shared Function CreateInternalServerErrorOutput (id As String, Optional message As String = Nothing) As LanguageServerOutput

Parameters

id
String

The id of the request that resulted in the error.

message
String

The error message.

Returns

A new instance of LanguageServerOutput with the given error information.

Applies to