Adds a Presentation Context to the DICOM Associate.
public void AddPresentationContext(
byte id,
DicomAssociateAcceptResultType result,
string abstractSyntax
)
Public Sub AddPresentationContext( _
ByVal id As Byte, _
ByVal result As DicomAssociateAcceptResultType, _
ByVal abstractSyntax As String _
)
public:
void AddPresentationContext(
byte id,
DicomAssociateAcceptResultType result,
String^ abstractSyntax
)
id
Presentation Context ID. The ID provides information about both the class type of the data and the Transfer Syntax to use when transferring the data. The ID should be unique. It should start at 1 and it must be odd (1, 3, 5, _).
result
Result value. This is only valid for an Associate Accept. It will be ignored in an Associate Request.
abstractSyntax
Abstract Syntax Name. This indicates the class type of the data. For a list of possible values, refer toAbstract Syntax Values.
A DICOM Associate (Request or Accept) can have multiple Presentation Contexts. A Presentation Context can be added by specifying a unique ID for the new Presentation Context and valid values for the result (Associate Accept Presentation Context entries only) and the Abstract Syntax Name.
PresentationContextCount Property
GetPresentationContextID Method
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document