Partager via


ExceptionHelpers.Log Méthode

Définition

Surcharges

Log(Exception)
Log(Exception, EventLogEntryType)
Log(String, EventLogEntryType)
Log(Exception, String, EventLogEntryType)
Log(String, String, EventLogEntryType)
Log(String, String, EventLogEntryType, Int32, Int16)

Log(Exception)

public:
 static void Log(Exception ^ e);
public static void Log (Exception e);
static member Log : Exception -> unit
Public Shared Sub Log (e As Exception)

Paramètres

S’applique à

Log(Exception, EventLogEntryType)

public:
 static void Log(Exception ^ e, System::Diagnostics::EventLogEntryType t);
public static void Log (Exception e, System.Diagnostics.EventLogEntryType t);
static member Log : Exception * System.Diagnostics.EventLogEntryType -> unit
Public Shared Sub Log (e As Exception, t As EventLogEntryType)

Paramètres

S’applique à

Log(String, EventLogEntryType)

public:
 static void Log(System::String ^ msg, System::Diagnostics::EventLogEntryType t);
public static void Log (string msg, System.Diagnostics.EventLogEntryType t);
static member Log : string * System.Diagnostics.EventLogEntryType -> unit
Public Shared Sub Log (msg As String, t As EventLogEntryType)

Paramètres

msg
String

S’applique à

Log(Exception, String, EventLogEntryType)

public:
 static void Log(Exception ^ e, System::String ^ header, System::Diagnostics::EventLogEntryType t);
public static void Log (Exception e, string header, System.Diagnostics.EventLogEntryType t);
static member Log : Exception * string * System.Diagnostics.EventLogEntryType -> unit
Public Shared Sub Log (e As Exception, header As String, t As EventLogEntryType)

Paramètres

header
String

S’applique à

Log(String, String, EventLogEntryType)

public:
 static void Log(System::String ^ header, System::String ^ msg, System::Diagnostics::EventLogEntryType t);
public static void Log (string header, string msg, System.Diagnostics.EventLogEntryType t);
static member Log : string * string * System.Diagnostics.EventLogEntryType -> unit
Public Shared Sub Log (header As String, msg As String, t As EventLogEntryType)

Paramètres

header
String
msg
String

S’applique à

Log(String, String, EventLogEntryType, Int32, Int16)

public:
 static void Log(System::String ^ header, System::String ^ msg, System::Diagnostics::EventLogEntryType t, int eventId, short catagory);
public static void Log (string header, string msg, System.Diagnostics.EventLogEntryType t, int eventId, short catagory);
static member Log : string * string * System.Diagnostics.EventLogEntryType * int * int16 -> unit
Public Shared Sub Log (header As String, msg As String, t As EventLogEntryType, eventId As Integer, catagory As Short)

Paramètres

header
String
msg
String
eventId
Int32
catagory
Int16

S’applique à