ArcGIS API for WPF - Library Reference
GetResultImageLayer Method
See Also  Send comments on this topic
ESRI.ArcGIS.Client.Tasks Namespace > Geoprocessor Class : GetResultImageLayer Method

jobId
A string that uniquely identifies a job on the server. It is created when a job is submitted for execution and later used to check its status and retrieve the results.
parameterName
The name of the result parameter as defined in ArcGIS Services Directory.
Sends a request to the Geoprocessor task to get the task result identified by jobId and parameterName. Creates and configures a GPResultImageLayer instance ready to be added to a Map.

Syntax

Visual Basic (Declaration) 
Public Function GetResultImageLayer( _
   ByVal jobId As String, _
   ByVal parameterName As String _
) As GPResultImageLayer
C# 
public GPResultImageLayer GetResultImageLayer( 
   string jobId,
   string parameterName
)

Parameters

jobId
A string that uniquely identifies a job on the server. It is created when a job is submitted for execution and later used to check its status and retrieve the results.
parameterName
The name of the result parameter as defined in ArcGIS Services Directory.

Return Value

Returns an image layer based on the jobid processed.

Requirements

Target Platforms: Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© ESRI, Inc. All Rights Reserved.