DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomContext Class / AcceptedTS Property






In This Topic
    AcceptedTS Property
    In This Topic

    The negotiated and accepted transfer syntax to be used in a presentation context

    Syntax
    'Declaration
     
    
    Public Property AcceptedTS As System.String
    'Usage
     
    
    Dim instance As DicomContext
    Dim value As System.String
     
    instance.AcceptedTS = value
     
    value = instance.AcceptedTS
    public System.string AcceptedTS {get; set;}
    public read-write property AcceptedTS: System.String; 
    public function get,set AcceptedTS : System.String
    public: __property System.string* get_AcceptedTS();
    public: __property void set_AcceptedTS( 
       System.string* value
    );
    public:
    property System.String^ AcceptedTS {
       System.String^ get();
       void set (    System.String^ value);
    }
    Remarks

    This property allows a client program, in an AssociationRequest event, to select which transfer syntax to accept for a given presentation context, the list offered being found in the OfferedTS property. If none of the offered contexts is acceptable, then instead of setting this value, the Reject method should be called.

    If no value is set, and Reject is not called, then DicomObjects will automatically select a value, based on the Transfer Syntax Negotiation settings. On an established association, whether incoming or outgoing, the client may use this property to check which transfer syntax will be used, especially if the same abstract context exists in more than one presentation context. The DicomAssociation's PreferredPCID property may then be set to the appropriate DicomContext's ContextID value.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also