DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomAssociation Class / CheckForCancel Property






In This Topic
    CheckForCancel Property
    In This Topic
    Control whether to check for incoming C-CANCEL asynchronous messages
    Syntax
    'Declaration
     
    
    Public Property CheckForCancel As System.Boolean
    'Usage
     
    
    Dim instance As DicomAssociation
    Dim value As System.Boolean
     
    instance.CheckForCancel = value
     
    value = instance.CheckForCancel
    public System.bool CheckForCancel {get; set;}
    public read-write property CheckForCancel: System.Boolean; 
    public function get,set CheckForCancel : System.boolean
    public: __property System.bool get_CheckForCancel();
    public: __property void set_CheckForCancel( 
       System.bool value
    );
    public:
    property System.bool CheckForCancel {
       System.bool get();
       void set (    System.bool value);
    }
    Remarks
    When about to send a status response to an SCU, if this property is true (which it is bt default), then DicomObjects check whether there is any incoming data to be read off the network. If there is, then it is received, and checked to see if it is a C-CANCEL message. If it is C-CANCEL, then it is processed, but if it is any other message, then that would be illegal (without asynchronous operation), and an exception is raised.
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also