EngineSetupExceptionTException Method |
Populates an exception with additional information.
Namespace:
Dundas.BI
Assembly:
Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (24.3.0.1000)
Syntax public TException SetupException<TException>(
Guid moduleId,
TException exception,
string messageChannel,
int messageId,
string? supplementalMessage,
string? details
)
where TException : Exception
Public Function SetupException(Of TException As Exception) (
moduleId As Guid,
exception As TException,
messageChannel As String,
messageId As Integer,
supplementalMessage As String,
details As String
) As TException
public:
generic<typename TException>
where TException : Exception
virtual TException SetupException(
Guid moduleId,
TException exception,
String^ messageChannel,
int messageId,
String^ supplementalMessage,
String^ details
) sealed
abstract SetupException :
moduleId : Guid *
exception : 'TException *
messageChannel : string *
messageId : int *
supplementalMessage : string *
details : string -> 'TException when 'TException : Exception
override SetupException :
moduleId : Guid *
exception : 'TException *
messageChannel : string *
messageId : int *
supplementalMessage : string *
details : string -> 'TException when 'TException : Exception
Parameters
- moduleId
- Type: SystemGuid
The unique identifier of the module which will throw the exception. - exception
- Type: TException
The exception to populate. - messageChannel
- Type: SystemString
The message channel. - messageId
- Type: SystemInt32
The unique identifier of the message. - supplementalMessage
- Type: SystemString
An optional supplemental message. - details
- Type: SystemString
Optional technical details.
Type Parameters
- TException
- The exception type.
Return Value
Type:
TExceptionexception.
Implements
IEngineSetupExceptionTException(Guid, TException, String, Int32, String, String)See Also