ExceptionManager.Publish Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
Publish(Exception)
public:
static void Publish(Exception ^ ex);
public static void Publish (Exception ex);
static member Publish : Exception -> unit
Public Shared Sub Publish (ex As Exception)
Parameters
- ex
- Exception
Applies to
Publish(Exception, ExceptionManager+CategoryIdentifier)
public:
static void Publish(Exception ^ ex, Microsoft::Solutions::BTARN::Shared::ExceptionManager::CategoryIdentifier enCategoryIdentifier);
public static void Publish (Exception ex, Microsoft.Solutions.BTARN.Shared.ExceptionManager.CategoryIdentifier enCategoryIdentifier);
static member Publish : Exception * Microsoft.Solutions.BTARN.Shared.ExceptionManager.CategoryIdentifier -> unit
Public Shared Sub Publish (ex As Exception, enCategoryIdentifier As ExceptionManager.CategoryIdentifier)
Parameters
- ex
- Exception
- enCategoryIdentifier
- ExceptionManager.CategoryIdentifier
Applies to
Publish(Exception, Int32, ExceptionManager+CategoryIdentifier)
public:
static void Publish(Exception ^ ex, int eventID, Microsoft::Solutions::BTARN::Shared::ExceptionManager::CategoryIdentifier enCategoryIdentifier);
public static void Publish (Exception ex, int eventID, Microsoft.Solutions.BTARN.Shared.ExceptionManager.CategoryIdentifier enCategoryIdentifier);
static member Publish : Exception * int * Microsoft.Solutions.BTARN.Shared.ExceptionManager.CategoryIdentifier -> unit
Public Shared Sub Publish (ex As Exception, eventID As Integer, enCategoryIdentifier As ExceptionManager.CategoryIdentifier)
Parameters
- ex
- Exception
- eventID
- Int32
- enCategoryIdentifier
- ExceptionManager.CategoryIdentifier
Applies to
Publish(Exception, String, ExceptionManager+CategoryIdentifier)
public:
static void Publish(Exception ^ ex, System::String ^ correlationInfo, Microsoft::Solutions::BTARN::Shared::ExceptionManager::CategoryIdentifier enCategoryIdentifier);
public static void Publish (Exception ex, string correlationInfo, Microsoft.Solutions.BTARN.Shared.ExceptionManager.CategoryIdentifier enCategoryIdentifier);
static member Publish : Exception * string * Microsoft.Solutions.BTARN.Shared.ExceptionManager.CategoryIdentifier -> unit
Public Shared Sub Publish (ex As Exception, correlationInfo As String, enCategoryIdentifier As ExceptionManager.CategoryIdentifier)
Parameters
- ex
- Exception
- correlationInfo
- String
- enCategoryIdentifier
- ExceptionManager.CategoryIdentifier
Applies to
Publish(String, String, ExceptionManager+CategoryIdentifier)
public:
static void Publish(System::String ^ errorMessage, System::String ^ correlationInfo, Microsoft::Solutions::BTARN::Shared::ExceptionManager::CategoryIdentifier enCategoryIdentifier);
public static void Publish (string errorMessage, string correlationInfo, Microsoft.Solutions.BTARN.Shared.ExceptionManager.CategoryIdentifier enCategoryIdentifier);
static member Publish : string * string * Microsoft.Solutions.BTARN.Shared.ExceptionManager.CategoryIdentifier -> unit
Public Shared Sub Publish (errorMessage As String, correlationInfo As String, enCategoryIdentifier As ExceptionManager.CategoryIdentifier)
Parameters
- errorMessage
- String
- correlationInfo
- String
- enCategoryIdentifier
- ExceptionManager.CategoryIdentifier
Applies to
Publish(Exception, String, String, ExceptionManager+CategoryIdentifier)
public:
static void Publish(Exception ^ ex, System::String ^ correlationInfo, [Runtime::InteropServices::Out] System::String ^ % errorDescription, Microsoft::Solutions::BTARN::Shared::ExceptionManager::CategoryIdentifier enCategoryIdentifier);
public static void Publish (Exception ex, string correlationInfo, out string errorDescription, Microsoft.Solutions.BTARN.Shared.ExceptionManager.CategoryIdentifier enCategoryIdentifier);
static member Publish : Exception * string * * Microsoft.Solutions.BTARN.Shared.ExceptionManager.CategoryIdentifier -> unit
Public Shared Sub Publish (ex As Exception, correlationInfo As String, ByRef errorDescription As String, enCategoryIdentifier As ExceptionManager.CategoryIdentifier)
Parameters
- ex
- Exception
- correlationInfo
- String
- errorDescription
- String
- enCategoryIdentifier
- ExceptionManager.CategoryIdentifier
Applies to
Publish(String, String, Int32, EventLogEntryType, ExceptionManager+CategoryIdentifier)
public:
static void Publish(System::String ^ errorMessage, System::String ^ correlationInfo, int eventID, System::Diagnostics::EventLogEntryType eventLogEntryType, Microsoft::Solutions::BTARN::Shared::ExceptionManager::CategoryIdentifier enCategoryIdentifier);
public static void Publish (string errorMessage, string correlationInfo, int eventID, System.Diagnostics.EventLogEntryType eventLogEntryType, Microsoft.Solutions.BTARN.Shared.ExceptionManager.CategoryIdentifier enCategoryIdentifier);
static member Publish : string * string * int * System.Diagnostics.EventLogEntryType * Microsoft.Solutions.BTARN.Shared.ExceptionManager.CategoryIdentifier -> unit
Parameters
- errorMessage
- String
- correlationInfo
- String
- eventID
- Int32
- eventLogEntryType
- EventLogEntryType
- enCategoryIdentifier
- ExceptionManager.CategoryIdentifier