DicomObjects.NET.V8
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 Boolean
    'Usage
     
    Dim instance As DicomAssociation
    Dim value As Boolean
     
    instance.CheckForCancel = value
     
    value = instance.CheckForCancel
    public bool CheckForCancel {get; set;}
    public:
    property bool CheckForCancel {
       bool get();
       void set (    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.0 or higher

    See Also