DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomServer Class / DefaultStatus Property






In This Topic
    DefaultStatus Property
    In This Topic
    The default status code to be returned in response to incoming requests
    Syntax
    'Declaration
     
    
    Public Property DefaultStatus As System.Integer
    'Usage
     
    
    Dim instance As DicomServer
    Dim value As System.Integer
     
    instance.DefaultStatus = value
     
    value = instance.DefaultStatus
    public System.int DefaultStatus {get; set;}
    public read-write property DefaultStatus: System.Integer; 
    public function get,set DefaultStatus : System.int
    public: __property System.int get_DefaultStatus();
    public: __property void set_DefaultStatus( 
       System.int value
    );
    public:
    property System.int DefaultStatus {
       System.int get();
       void set (    System.int value);
    }
    Remarks

    When incoming requests such as C-STORE, C-ECHO or normalised operations are received, a status code must be returned to the Sender. Normally, this is supplied either by the final value of the "Status" parameter to the VerifyReceived or InstanceReceived event. Under some circumstances, however (such as when a message box is displayed in Visual Basic), events my not be fired, so this property provides a default value. It is used in the following circumstances:

    • It provides the initial value for the Status parameter for an InstanceReceived or VerifyReceved event
    • It provides the definitive value if the appropriate event is not fired or not captured

    Servers should normally set this value to a suitable error code, so that sending applications are alerted when an image cannot be handled due to server errors erc.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also