ESRI.ArcGIS.ADF.Connection.Core
TCPConnection Constructor(String,Int32)
See Also  Send comments on this topic.
ESRI.ArcGIS.ADF.Connection.IMS Namespace > TCPConnection Class > TCPConnection Constructor : TCPConnection Constructor(String,Int32)




host
Name of machine hosting the ArcIMS App Server.
port
Port at which the ArcIMS App Server is hosted.
Constructs a TCPConnection object.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal host As String, _
   ByVal port As Integer _
)
Visual Basic (Usage)Copy Code
Dim host As String
Dim port As Integer
 
Dim instance As TCPConnection(host, port)
C# 
public TCPConnection( 
   string host,
   int port
)

Parameters

host
Name of machine hosting the ArcIMS App Server.
port
Port at which the ArcIMS App Server is hosted.

Exceptions

ExceptionDescription
TCPConnectionExceptionConnect has failed. The InnerException property gives access to the exception that triggered this one.

See Also

© 2010 All Rights Reserved.