|
HubClientBaseLogException Method
|
Logs an exception to hub client and any provided log exception delegate.
Namespace: GSF.Web.HubsAssembly: GSF.Web (in GSF.Web.dll) Version: 2.4.207-beta
Syntax protected void LogException(
Exception ex,
bool logToClient = true
)
Protected Sub LogException (
ex As Exception,
Optional logToClient As Boolean = true
)
protected:
void LogException(
Exception^ ex,
bool logToClient = true
)
member LogException :
ex : Exception *
?logToClient : bool
(* Defaults:
let _logToClient = defaultArg logToClient true
*)
-> unit
function LogException(ex, logToClient);
View SourceParameters
- ex Exception
- Exception to log.
- logToClient Boolean (Optional)
- Determines if message should be logged to hub client.
Remarks
When logToClient is true, function will
call "sendErrorMessage" Javascript hub client function if defined.
See Also