|
ServiceHelperSendActionableResponse Method
|
Sends an actionable response to client along with an optional formatted message and attachment.
Namespace: GSF.ServiceProcessAssembly: GSF.ServiceProcess (in GSF.ServiceProcess.dll) Version: 2.4.205-beta
Syntax member SendActionableResponse :
requestInfo : ClientRequestInfo *
success : bool *
?attachment : Object *
?status : string *
args : Object[]
(* Defaults:
let _attachment = defaultArg attachment null
let _status = defaultArg status null
*)
-> unit
function SendActionableResponse(requestInfo, success, attachment, status, ... args);
View SourceParameters
- 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