Click or drag to resize

HubClientBaseLogException Method

Logs an exception to hub client and any provided log exception delegate.

Namespace: GSF.Web.Hubs
Assembly: GSF.Web (in GSF.Web.dll) Version: 2.4.218-beta
Syntax
protected void LogException(
	Exception ex,
	bool logToClient = true
)
View Source

Parameters

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