|
HubClientOperationsBaseT Constructor
|
Namespace: GSF.Web.HubsAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.248-beta
Syntaxprotected HubClientOperationsBase(
IHub hub,
Action<string, UpdateType> logStatusMessageFunction = null,
Action<Exception> logExceptionFunction = null
)
Protected Sub New (
hub As IHub,
Optional logStatusMessageFunction As Action(Of String, UpdateType) = Nothing,
Optional logExceptionFunction As Action(Of Exception) = Nothing
)
protected:
HubClientOperationsBase(
IHub^ hub,
Action<String^, UpdateType>^ logStatusMessageFunction = nullptr,
Action<Exception^>^ logExceptionFunction = nullptr
)
new :
hub : IHub *
?logStatusMessageFunction : Action<string, UpdateType> *
?logExceptionFunction : Action<Exception>
(* Defaults:
let _logStatusMessageFunction = defaultArg logStatusMessageFunction null
let _logExceptionFunction = defaultArg logExceptionFunction null
*)
-> HubClientOperationsBase
GSF.Web.Hubs.HubClientOperationsBase = function(hub, logStatusMessageFunction, logExceptionFunction);
View SourceParameters
- hub IHub
- logStatusMessageFunction ActionString, UpdateType (Optional)
- Delegate to use to log status messages, if any.
- logExceptionFunction ActionException (Optional)
- Delegate to use to log exceptions, if any.
See Also