DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomAssociation Class / Open Method / Open(String,Int32,String,String) Method

Network address (as dotted notation or resolvable name) to which the association is to be made

Port on which remote application is listening

Name to quote for this Application Entity

Name of remote Application Entity







In This Topic
    Open(String,Int32,String,String) Method
    In This Topic
    Open and negotiate a new DICOM Association
    Syntax
    'Declaration
     
    
    Public Overloads Sub Open( _
       ByVal Node As System.String, _
       ByVal Port As System.Integer, _
       ByVal CallingAE As System.String, _
       ByVal CalledAE As System.String _
    ) 
    'Usage
     
    
    Dim instance As DicomAssociation
    Dim Node As System.String
    Dim Port As System.Integer
    Dim CallingAE As System.String
    Dim CalledAE As System.String
     
    instance.Open(Node, Port, CallingAE, CalledAE)
    public void Open( 
       System.string Node,
       System.int Port,
       System.string CallingAE,
       System.string CalledAE
    )
    public procedure Open( 
        Node: System.String;
        Port: System.Integer;
        CallingAE: System.String;
        CalledAE: System.String
    ); 
    public function Open( 
       Node : System.String,
       Port : System.int,
       CallingAE : System.String,
       CalledAE : System.String
    );
    public: void Open( 
       System.string* Node,
       System.int Port,
       System.string* CallingAE,
       System.string* CalledAE
    ) 
    public:
    void Open( 
       System.String^ Node,
       System.int Port,
       System.String^ CallingAE,
       System.String^ CalledAE
    ) 

    Parameters

    Node

    Network address (as dotted notation or resolvable name) to which the association is to be made

    Port

    Port on which remote application is listening

    CallingAE

    Name to quote for this Application Entity

    CalledAE

    Name of remote Application Entity

    Remarks

    This method returns, after the connection has been established. If there is a protocol failure, then a trappable DicomException is thrown.

    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also