Click or drag to resize

ServiceHelperSendActionableResponse Method

Sends an actionable response to client along with an optional formatted message and attachment.

Namespace: GSF.ServiceProcess
Assembly: GSF.ServiceProcess (in GSF.ServiceProcess.dll) Version: 2.4.207-beta
Syntax
public void SendActionableResponse(
	ClientRequestInfo requestInfo,
	bool success,
	Object attachment = null,
	string status = null,
	params Object[] args
)
View Source

Parameters

requestInfo  ClientRequestInfo
ClientRequestInfo instance containing the client request.
success  Boolean
Flag that determines if this response to client request was a success.
attachment  Object  (Optional)
Attachment to send with response.
status  String  (Optional)
Formatted status message to send with response.
args  Object
Arguments of the formatted status message.
Remarks
This method is used to send an actionable client response that can be used for responding to an event after a command has been issued.
See Also