ESRI.ArcGIS.ADF.Connection
Send(String,String) Method
See Also  Send comments on this topic.
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>"

See Also

© 2010 All Rights Reserved.