Reflection .NET API
Attachmate.Reflection.Emulation.OpenSystems Assembly / Attachmate.Reflection.Emulation.OpenSystems Namespace / ITerminal Interface / ConnectionError Property


In This Topic
    ConnectionError Property (ITerminal)
    In This Topic
    Gets the error number that describes the specific cause of the most recent general connection failure (only when the last returned error has the value ErrConnectionError).
    Syntax
    'Declaration
     
    
    ReadOnly Property ConnectionError As Integer
    'Usage
     
    
    Dim instance As ITerminal
    Dim value As Integer
     
    value = instance.ConnectionError
    int ConnectionError {get;}
    Remarks
    If no connection failure has occurred, this property returns zero. Use ConnectionErrorMessage to retrieve the error message.

    If you use ConnectionError for errors other than ErrConnectionError, you will retrieve information that is not valid for the current error condition.

    See Also