Freigeben über


LanguageServerOutput.CreateSuccessResult<T>(String, T) Method

Definition

Creates a new instance of LanguageServerOutput with the given success result.

public static Microsoft.PowerFx.LanguageServerProtocol.LanguageServerOutput CreateSuccessResult<T>(string id, T result);
static member CreateSuccessResult : string * 'T -> Microsoft.PowerFx.LanguageServerProtocol.LanguageServerOutput
Public Shared Function CreateSuccessResult(Of T) (id As String, result As T) As LanguageServerOutput

Type Parameters

T

The type of the result.

Parameters

id
String

The id of the request that resulted in the success.

result
T

The result.

Returns

A new instance of LanguageServerOutput with the given success result.

Applies to