ArcGIS Runtime SDK for WPF - Library Reference
Start Method
See Also 
ESRI.ArcGIS.Client.Local Namespace > LocalGeoprocessingService Class : Start Method

Synchronously starts the local service instance.

Syntax

Visual Basic (Declaration) 
Public Overrides NotOverridable Sub Start() 
C# 
public override void Start()

Remarks

The Start method will check whether this local service is already in the LocalServiceStatus.Running state and raise an System.InvalidOperationException if necessary. The Path property will also be checked for a valid geoprocessing package.

The StartAsync method call should be enclosed in a try-catch block to handle any exceptions that might be raised.

Exceptions

ExceptionDescription
System.InvalidOperationExceptionStartAsync should can not be called if the local service is already in the LocalServiceStatus.Running state.
System.InvalidOperationExceptionAn exception is raised if the Path property does not reference a valid geoprocessing package file.

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.