Class ExceptionHelper
Inherited Members
Namespace: SecureExchangesSDK.Helpers
Assembly: SecureExchangesSDK.dll
Syntax
public static class ExceptionHelper
Methods
Log(string, Exception)
Declaration
public static void Log(string message, Exception ex = null)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | |
| Exception | ex |
WriteToEventViewer(string, string, EventLogEntryType, int)
Declaration
public static bool WriteToEventViewer(string source, string message, EventLogEntryType errType, int eventID = 0)
Parameters
| Type | Name | Description |
|---|---|---|
| string | source | |
| string | message | |
| EventLogEntryType | errType | |
| int | eventID |
Returns
| Type | Description |
|---|---|
| bool |