Show / Hide Table of Contents

Class ExceptionHelper

Inheritance
System.Object
ExceptionHelper
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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
System.String message
System.Exception ex

WriteToEventViewer(String, String, EventLogEntryType, Int32)

Declaration
public static bool WriteToEventViewer(string source, string message, EventLogEntryType errType, int eventID = 0)
Parameters
Type Name Description
System.String source
System.String message
System.Diagnostics.EventLogEntryType errType
System.Int32 eventID
Returns
Type Description
System.Boolean
In This Article
Back to top Generated by DocFX