DicomObjects.NET Core Documentation
DicomObjects Namespace / DicomAssociation Class / LastError Property



In This Topic
    LastError Property
    In This Topic

    Returns the last error status from LastCommand.

    Syntax
    'Declaration
     
    
    Public ReadOnly Property LastError As String
    'Usage
     
    
    Dim instance As DicomAssociation
    Dim value As String
     
    value = instance.LastError
    public string LastError {get;}
    public:
    property String^ LastError {
       String^ get();
    }
    Remarks
    If the LastCommand property if not null then this property returns the error status which is contained in the (Keyword.ErrorComment) attribute of the last command, otherwise an empty string is returned.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also