A Sandcastle Documented Class Library

# IEngine SetupException TException Method

Populates an exception with additional information.

Namespace: Dundas.BI
Assembly: Dundas.BI.Core (in Dundas.BI.Core.dll) Version: 2.0.0.0 (10.0.0.1002)
Syntax
C#
VB
C++
F#
Copy

    TException SetupException<TException>(
    	Guid moduleId,
    	TException exception,
    	string messageChannel,
    	int messageId,
    	string supplementalMessage,
    	string details
    )
    where TException : Exception

    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

    generic<typename TException>
    where TException : Exception
    TException SetupException(
    	Guid moduleId,
    	TException exception,
    	String^ messageChannel,
    	int messageId,
    	String^ supplementalMessage,
    	String^ details
    )

    abstract SetupException :
            moduleId : Guid *
            exception : 'TException *
            messageChannel : string *
            messageId : int *
            supplementalMessage : string *
            details : string -> 'TException  when 'TException : Exception

#### Parameters

moduleId
  Type: System
  Guid
  The unique identifier of the module which will throw the exception.
exception
  Type: TException
  The exception to populate.
messageChannel
  Type: System
  String
  The message channel.
messageId
  Type: System
  Int32
  The unique identifier of the message.
supplementalMessage
  Type: System
  String
  An optional supplemental message.
details
  Type: System
  String
  Optional technical details.

#### Type Parameters

TException
  The exception type.

#### Return Value

Type: TException
exception.
See Also

#### Reference

IEngine Interface
Dundas.BI Namespace