ESRI.ArcGIS.ADF.Connection.Core
Send(String,String) Method
See Also  Send Feedback
ESRI.ArcGIS.ADF.Connection.IMS Namespace > TCPConnection Class > Send Method : Send(String,String) Method




request
Request to send.
customservice
Custom service to send request to.
Sends a request.

Syntax

Visual Basic (Declaration) 
Public Overloads Overrides Function Send( _
   ByVal request As String, _
   ByVal customservice As String _
) As String
Visual Basic (Usage)Copy Code
Dim instance As TCPConnection
Dim request As String
Dim customservice As String
Dim value As String
 
value = instance.Send(request, customservice)
C# 
public override string Send( 
   string request,
   string customservice
)

Parameters

request
Request to send.
customservice
Custom service to send request to.

Return Value

Response from the service.

Remarks

If service not found, return string is error message sent by server in format: "Error: Requested Service is not available."

If request is not valid, return string is error in format: "<ERROR>Invalid catalog function.</ERROR>"

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2011 All Rights Reserved.