InfoConnect for Unisys
Attachmate.Reflection.Emulation.Common Namespace / APIException Class / APIException Constructor / APIException Constructor(String,Exception)
The message that describes the error.
The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.


In This Topic
    APIException Constructor(String,Exception)
    In This Topic
    Initializes a new instance of the Attachmate.Reflection.Emulation.Common.APIException class, with a specified error message and a reference to the inner exception that is the cause of this exception.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal message As String, _
       ByVal innerException As Exception _
    )
    'Usage
     
    
    Dim message As String
    Dim innerException As Exception
     
    Dim instance As New APIException(message, innerException)
    public APIException( 
       string message,
       Exception innerException
    )

    Parameters

    message
    The message that describes the error.
    innerException
    The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
    See Also