DicomObjects.NET.V8
DicomObjects Namespace / DicomAssociation Class / RequestedContexts Property



In This Topic
    RequestedContexts Property
    In This Topic
    The Presentation Contexts associated with this DicomAssociation
    Syntax
    'Declaration
     
    Public ReadOnly Property RequestedContexts As DicomContextCollection
    'Usage
     
    Dim instance As DicomAssociation
    Dim value As DicomContextCollection
     
    value = instance.RequestedContexts
    public DicomContextCollection RequestedContexts {get;}
    public:
    property DicomContextCollection^ RequestedContexts {
       DicomContextCollection^ get();
    }
    Remarks

    This is a powerful feature, allowing a client program as much, or as little control over presentation contexts as it wishes. the collection returned by this property may be used to set up a collection of presentation contexts to offer to the peer SE prior to establishing an association

    IMPORTANT:

    If this property has any presentation contexts added before an association is established, then DicomObjects assumes that the client application has taken charge of this entirely, and the normal Abstract/Transfer context lists found in the registry settings (see SetRegString) are NOT used.

    Note that operations relating to the acceptance of presentation contexts are not possible on this DicomContexts object or its contained DicomContext object. Such operations are only possible from within the AssociationRequest event using e.Contexts.

    Requirements

    Target Platforms: .NET CLR 4.0 or higher

    See Also