ArcGIS Runtime SDK for WPF - Library Reference
GetServiceAsync(String,GPServiceType,Int32) Method
See Also 
ESRI.ArcGIS.Client.Local Namespace > LocalGeoprocessingService Class > GetServiceAsync Method : GetServiceAsync(String,GPServiceType,Int32) Method

path
serviceType
maxRecords
This will either reuse an existing service for the supplied path, or make a new service if its not already running.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function GetServiceAsync( _
   ByVal path As String, _
   ByVal serviceType As GPServiceType, _
   ByVal maxRecords As Integer _
) As Task(Of LocalGeoprocessingService)
C# 
public static Task<LocalGeoprocessingService> GetServiceAsync( 
   string path,
   GPServiceType serviceType,
   int maxRecords
)

Parameters

path
serviceType
maxRecords

Requirements

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

See Also

© ESRI, Inc. All Rights Reserved.