Improve this Doc
View Source
Class RequestContext<TResult>
Inheritance
System.Object
RequestContext<TResult>
Namespace:Microsoft.SqlTools.ServiceLayer.Hosting.Protocol
Assembly:Microsoft.SqlTools.ServiceLayer.dll
Syntax
public class RequestContext<TResult>
Constructors
|
Improve this Doc
View Source
RequestContext()
Declaration
|
Improve this Doc
View Source
RequestContext(Message, MessageWriter)
Declaration
public RequestContext(Message requestMessage, MessageWriter messageWriter)
Parameters
Methods
|
Improve this Doc
View Source
SendError(Object)
Declaration
public virtual Task SendError(object errorDetails)
Parameters
Type |
Name |
Description |
System.Object |
errorDetails |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SendEvent<TParams>(EventType<TParams>, TParams)
Declaration
public virtual Task SendEvent<TParams>(EventType<TParams> eventType, TParams eventParams)
Parameters
Type |
Name |
Description |
EventType<TParams> |
eventType |
|
TParams |
eventParams |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
|
Improve this Doc
View Source
SendResult(TResult)
Declaration
public virtual Task SendResult(TResult resultDetails)
Parameters
Type |
Name |
Description |
TResult |
resultDetails |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|