Click or drag to resize

ServiceHostBaseSendResponseWithAttachment Method

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

Namespace: GSF.TimeSeries
Assembly: GSF.TimeSeries (in GSF.TimeSeries.dll) Version: 2.4.181-beta
Syntax
protected virtual void SendResponseWithAttachment(
	ClientRequestInfo requestInfo,
	bool success,
	Object attachment,
	string status,
	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
Attachment to send with response.
status  String
Formatted status message to send with response.
args  Object
Arguments of the formatted status message.
See Also