|
DataContextOperations Constructor
|
Namespace: GSF.Web.HubsAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.248-beta
Syntaxpublic DataContextOperations(
IHub hub,
string settingsCategory,
Action<string, UpdateType> logStatusMessageFunction = null,
Action<Exception> logExceptionFunction = null
)
Public Sub New (
hub As IHub,
settingsCategory As String,
Optional logStatusMessageFunction As Action(Of String, UpdateType) = Nothing,
Optional logExceptionFunction As Action(Of Exception) = Nothing
)
public:
DataContextOperations(
IHub^ hub,
String^ settingsCategory,
Action<String^, UpdateType>^ logStatusMessageFunction = nullptr,
Action<Exception^>^ logExceptionFunction = nullptr
)
new :
hub : IHub *
settingsCategory : string *
?logStatusMessageFunction : Action<string, UpdateType> *
?logExceptionFunction : Action<Exception>
(* Defaults:
let _logStatusMessageFunction = defaultArg logStatusMessageFunction null
let _logExceptionFunction = defaultArg logExceptionFunction null
*)
-> DataContextOperations
GSF.Web.Hubs.DataContextOperations = function(hub, settingsCategory, logStatusMessageFunction, logExceptionFunction);
View SourceParameters
- hub IHub
- Parent hub.
- settingsCategory String
- Setting category that contains the connection settings.
- 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