DicomObjects Reference
DicomObjects Reference / DicomConnection Object / Contexts Property
In This Topic
    Contexts Property
    In This Topic
    Description
    Presentation contexts in use on this association
    Property type
    Read-only property
    Syntax
    Visual Basic
    Public Property Contexts As DicomContexts
    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 for two distinct purposes:

    • To set up a collection of presentation contexts to offer to the peer AE prior to establishing an association.
    •  To check the presentation contexts available on an established association (incoming or outgoing).

    IMPORTANT:

    If this property is accessed and 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 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.

    See Also