ExceptionHelpers.Log Metodo
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
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)
Parametri
Si applica a
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)
Parametri
Si applica a
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)
Parametri
- msg
- String
Si applica a
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)
Parametri
- header
- String
Si applica a
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)
Parametri
- header
- String
- msg
- String
Si applica a
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)
Parametri
- header
- String
- msg
- String
- eventId
- Int32
- catagory
- Int16