DVTk API
CreatePresentationContextsForAssociateAc Method (transferSyntaxesList)
DVTkDvtkHighLevelInterface.Dicom.MessagesAssociateRqCreatePresentationContextsForAssociateAc(array<TransferSyntaxes>[]()[])
DVTk API

[This is preliminary documentation and is subject to change.]

Creates presentation contexts to be used in an A-ASSOCIATE-AC that are based on the presentation contexts of this instance.
Declaration Syntax
C#Visual BasicVisual C++
public PresentationContextCollection CreatePresentationContextsForAssociateAc(
	params TransferSyntaxes[] transferSyntaxesList
)
Public Function CreatePresentationContextsForAssociateAc ( _
	ParamArray transferSyntaxesList As TransferSyntaxes() _
) As PresentationContextCollection
public:
PresentationContextCollection^ CreatePresentationContextsForAssociateAc(
	... array<TransferSyntaxes^>^ transferSyntaxesList
)
Parameters
transferSyntaxesList (array< TransferSyntaxes >[]()[])
The transfer syntaxes to accept.
Return Value
The created presentation contexts.
Remarks
The following holds for the returned presentation contexts:
- For each requested presentation contex, do the following:
1)
Check if one or more of the requested transfer syntaxes is present in the first supplied TransferSyntaxes instance. If this is the case, use the requested transfer syntax that is requested before the other ones in the accepted presentation context counterpart (has result field 0).
2)
If no requested transfer syntaxes was present, try this with the second supplied TransferSyntaxes instance.
3) If no requested transfer syntaxes was present is in any supplied TransferSyntaxes instance, reject the presentation context with result 4.

Note that a difference exists between supplying one TransferSyntaxes instance with all transfer syntaxes to accept and supplying multiple TransferSyntaxes instances each containing only one transfer syntax. In the first case, the preference (order of proposed transfer syntaxes) of the SCU will be used, in the second case the preference of the caller of this method will be used.

Assembly: DvtkHighLevelInterface (Module: DvtkHighLevelInterface) Version: 0.0.0.0