LanguageServerOutput.CreateSuccessResult<T>(String, T) Method
Definition
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.
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.