This document is archived and information here might be outdated.  Recommended version.


IRESTCallback.HandleResource Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (System)  

IRESTCallback.HandleResource Method

Callback for REST resource handling.

[Visual Basic .NET]
Public Sub HandleResource ( _
    ByVal Capabilities As String, _
    ByVal resourceName As String, _
    ByVal boundVariables As IPropertySet, _
    ByVal inputJSON As String, _
    ByVal outputFormat As String, _
    ByVal requestProps As IJSONObject, _
    ByRef responseProps As IJSONObject, _
    ByRef outputData As Object _
)
[C#]
public void HandleResource (
    string Capabilities,
    string resourceName,
    IPropertySet boundVariables,
    string inputJSON,
    string outputFormat,
    IJSONObject requestProps,
    ref IJSONObject responseProps,
    ref object outputData
);
[C++]
HRESULT HandleResource(
  BSTR Capabilities,
  BSTR resourceName,
  IPropertySet* boundVariables,
  BSTR inputJSON,
  BSTR outputFormat,
  IJSONObject* requestProps,
  IJSONObject** responseProps,
  Variant* outputData
);
[C++]

Parameters Capabilities [in]
Capabilities is a parameter of type BSTR resourceName [in]
resourceName is a parameter of type BSTR boundVariables [in]
boundVariables is a parameter of type IPropertySet* inputJSON [in]
inputJSON is a parameter of type BSTR outputFormat [in]
outputFormat is a parameter of type BSTR requestProps [in]
requestProps is a parameter of type IJSONObject* responseProps [out]
responseProps is a parameter of type IJSONObject** outputData [out]
outputData is a parameter of type VARIANT*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IRESTCallback Interface