Click or drag to resize

ClientRequestHandler(String, String, Action<ClientRequestInfo> , Boolean, String[]) Constructor

Initializes a new instance of the ClientRequestHandler class.

Namespace: GSF.ServiceProcess
Assembly: GSF.ServiceProcess (in GSF.ServiceProcess.dll) Version: 2.4.241-beta
Syntax
public ClientRequestHandler(
	string requestCommand,
	string requestDescription,
	Action<ClientRequestInfo> handlerMethod,
	bool isAdvertised,
	string[] aliases = null
)
View Source

Parameters

requestCommand  String
Command text that the ClientRequestHandler will process.
requestDescription  String
Description of the ClientRequestHandler.
handlerMethod  Action<ClientRequestInfo>
Delegate method that will be invoked for processing the requestCommand.
isAdvertised  Boolean
true if the ClientRequestHandler is to be published by the ServiceHelper; otherwise false.
aliases  String[]  (Optional)
Optional alias names to command.
See Also