InfoConnect API Guide
Attachmate.Reflection.Emulation.OpenSystems Namespace / ITerminal Interface / ConnectionErrorMessage Property


In This Topic
    ConnectionErrorMessage Property (ITerminal)
    In This Topic
    Gets the text string 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 ConnectionErrorMessage As String
    'Usage
     
    
    Dim instance As ITerminal
    Dim value As String
     
    value = instance.ConnectionErrorMessage
    string ConnectionErrorMessage {get;}
    Remarks
    If no connection failure has occurred, this property returns an empty string. The connection error message strings are stored internally in the connection library module of InfoConnect and cannot be changed.

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

    See Also