DicomObjects.NET.V8
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: .NET CLR 3.5 or higher

    See Also