InfoConnect API Guide
Attachmate.Reflection.Emulation.IbmHosts Namespace / IbmHostsException Class / IbmHostsException Constructor / IbmHostsException Constructor(ErrorCode,String)
Indicates the error condition.
The message that describes the error.


In This Topic
    IbmHostsException Constructor(ErrorCode,String)
    In This Topic
    Initializes a new instance of the Attachmate.Reflection.Emulation.IbmHosts.IbmHostsException class with a specified error message.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal errorCode As ErrorCode, _
       ByVal message As String _
    )
    'Usage
     
    
    Dim errorCode As ErrorCode
    Dim message As String
     
    Dim instance As New IbmHostsException(errorCode, message)
    public IbmHostsException( 
       ErrorCode errorCode,
       string message
    )

    Parameters

    errorCode
    Indicates the error condition.
    message
    The message that describes the error.
    See Also