|
ClientRequestHandler(String, String, ActionClientRequestInfo, Boolean, String) Constructor
|
Namespace: GSF.ServiceProcessAssembly: GSF.ServiceProcess (in GSF.ServiceProcess.dll) Version: 2.4.248-beta
Syntaxpublic ClientRequestHandler(
string requestCommand,
string requestDescription,
Action<ClientRequestInfo> handlerMethod,
bool isAdvertised,
string[] aliases = null
)
Public Sub New (
requestCommand As String,
requestDescription As String,
handlerMethod As Action(Of ClientRequestInfo),
isAdvertised As Boolean,
Optional aliases As String() = Nothing
)
public:
ClientRequestHandler(
String^ requestCommand,
String^ requestDescription,
Action<ClientRequestInfo^>^ handlerMethod,
bool isAdvertised,
array<String^>^ aliases = nullptr
)
new :
requestCommand : string *
requestDescription : string *
handlerMethod : Action<ClientRequestInfo> *
isAdvertised : bool *
?aliases : string[]
(* Defaults:
let _aliases = defaultArg aliases null
*)
-> ClientRequestHandler
GSF.ServiceProcess.ClientRequestHandler = function(requestCommand, requestDescription, handlerMethod, isAdvertised, aliases);
View SourceParameters
- requestCommand String
- Command text that the ClientRequestHandler will process.
- requestDescription String
- Description of the ClientRequestHandler.
- handlerMethod ActionClientRequestInfo
- 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