InfoConnect for Unisys
Attachmate.Reflection.Emulation.Common Namespace / APIException Class / ErrorCode Property
Example


In This Topic
    ErrorCode Property (APIException)
    In This Topic
    Returns the error code associated with this exception.
    Syntax
    'Declaration
     
    
    Public ReadOnly Property ErrorCode As ErrorCode
    'Usage
     
    
    Dim instance As APIException
    Dim value As ErrorCode
     
    value = instance.ErrorCode
    public ErrorCode ErrorCode {get;}
    Example
    IbmHostsException host;
    ErrorCode error = host.ErrorCode;
    See Also