dcmNET Class Library

A_Associate Constructor (TcpClient, String, String, Hashtable, Hashtable)

Construct association for request with presentation contexts and role selection in Hashtable.

[Visual Basic]
Overloads Public Sub New( _
   ByVal socket As TcpClient, _
   ByVal callingEntity As String, _
   ByVal calledEntity As String, _
   ByVal vPresContext As Hashtable, _
   ByVal vRoleSelection As Hashtable _
)
[C#]
public A_Associate(
   TcpClient socket,
   string callingEntity,
   string calledEntity,
   Hashtable vPresContext,
   Hashtable vRoleSelection
);

Parameters

socket
The socket connection.
callingEntity
My calling AE Title.
calledEntity
The called AE title of peer.
vPresContext
The presentation context.
vRoleSelection
The role selection.

Exceptions

Exception Type Condition
IOException Thrown when an I/O error occurs.

See Also

A_Associate Class | dcmNET Namespace | A_Associate Constructor Overload List