DicomObjects.NetStandard 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 String
    'Usage
     
    
    Dim instance As DicomContext
    Dim value As String
     
    instance.AcceptedTS = value
     
    value = instance.AcceptedTS
    public string AcceptedTS {get; set;}
    public:
    property String^ AcceptedTS {
       String^ get();
       void set (    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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also