| PowerShellScriptLogException Method |
Logs an exception to the event log.
Namespace:
Galactic.PowerShell
Assembly:
Galactic.PowerShell (in Galactic.PowerShell.dll) Version: 1.3.0.499 (1.3.0.499)
Syntax public bool LogException(
Exception e
)
Public Function LogException (
e As Exception
) As Boolean
public:
virtual bool LogException(
Exception^ e
) sealed
abstract LogException :
e : Exception -> bool
override LogException :
e : Exception -> bool
Parameters
- e
- Type: SystemException
The exception to log.
Return Value
Type:
BooleanTrue if the exception was logged successfully. False otherwise.
Implements
IExceptionLoggerLogException(Exception)See Also