ArcGIS Runtime SDK for WPF - Library Reference
InitializeWithLocalService Method
See Also 
ESRI.ArcGIS.Client.Tasks Namespace > GeometryServiceLocalExtensions Class : InitializeWithLocalService Method

geometryService
The GeometryService task to initialize.
Synchronously initializes a GeometryService task instance with a UrlGeometryService.

Syntax

Visual Basic (Declaration) 
Public Shared Function InitializeWithLocalService( _
   ByVal geometryService As GeometryService _
) As LocalGeometryService
C# 
public static LocalGeometryService InitializeWithLocalService( 
   GeometryService geometryService
)

Remarks

This method will reuse an existing local geometry service if one exists or start a new one if none are found on the runtime local server.

Parameters

geometryService
The GeometryService task to initialize.

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.