|
SharedHub(ActionString, UpdateType, ActionException) Constructor
|
Creates a new
SharedHub with the specified logging functions.
Namespace: GSF.Web.SharedAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.230-beta
Syntaxpublic SharedHub(
Action<string, UpdateType> logStatusMessageFunction,
Action<Exception> logExceptionFunction
)
Public Sub New (
logStatusMessageFunction As Action(Of String, UpdateType),
logExceptionFunction As Action(Of Exception)
)
public:
SharedHub(
Action<String^, UpdateType>^ logStatusMessageFunction,
Action<Exception^>^ logExceptionFunction
)
new :
logStatusMessageFunction : Action<string, UpdateType> *
logExceptionFunction : Action<Exception> -> SharedHub
GSF.Web.Shared.SharedHub = function(logStatusMessageFunction, logExceptionFunction);
View SourceParameters
- logStatusMessageFunction ActionString, UpdateType
- Delegate to use to log status messages, if any.
- logExceptionFunction ActionException
- Delegate to use to log exceptions, if any.
See Also