ArcGIS Runtime SDK for WPF - Library Reference
OnProgress(Int32) Method
See Also 
ESRI.ArcGIS.Client Namespace > DynamicLayer Class : OnProgress(Int32) Method

progress
Progress percentage between 0 and 100
Raises the progress event

Syntax

Visual Basic (Declaration) 
Protected Sub OnProgress( _
   ByVal progress As Integer _
) 
C# 
protected void OnProgress( 
   int progress
)

Remarks

When GetSource is called, the progress event is automatically raised with value '0', and when the image is returned, the progress event is again raised with value 100. Raise the progress event to fire progress events in between 0 and 100, for instance to report the progress of a download, image generation etc.

If the returned image from GetSource is a System.Windows.Media.Imaging.BitmapImage with a URL source, the progress event is automatically tracked, and there is no need to raise the progress event.

Parameters

progress
Progress percentage between 0 and 100

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.