Delegate ReportmanAgentClient.ResultEventHandler
Callback raised when an agent request completes, delivering the final result JSON document
or an error message if the request failed.
Assembly: Reportman.Reporting.dll
Syntax
public delegate void ReportmanAgentClient.ResultEventHandler(object sender, JsonDocument resultJson, string errorMessage)
Parameters
| Type |
Name |
Description |
| object |
sender |
Callback raised when an agent request completes, delivering the final result JSON document or an error message if the request failed. |
| JsonDocument |
resultJson |
Callback raised when an agent request completes, delivering the final result JSON document or an error message if the request failed. |
| string |
errorMessage |
Callback raised when an agent request completes, delivering the final result JSON document or an error message if the request failed. |
Constructors
View Source
ResultEventHandler(object, nint)
Declaration
public ResultEventHandler(object @object, nint method)
Parameters
Methods
View Source
BeginInvoke(object, JsonDocument, string, AsyncCallback, object)
Declaration
public virtual IAsyncResult BeginInvoke(object sender, JsonDocument resultJson, string errorMessage, AsyncCallback callback, object @object)
Parameters
Returns
View Source
EndInvoke(IAsyncResult)
Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
View Source
Invoke(object, JsonDocument, string)
Declaration
public virtual void Invoke(object sender, JsonDocument resultJson, string errorMessage)
Parameters