Gets the result of a worker thread operation.

Namespace:  ESRI.ArcGISExplorer.Threading

Assembly:  ESRI.ArcGISExplorer (in ESRI.ArcGISExplorer.dll) Version: 2.0.0.1500 (2.0.0.1500)

Syntax

C#
public Object Result { get; }
Visual Basic (Declaration)
Public ReadOnly Property Result As Object

Field Value

The result set on the Result property in DoWork; this may contain any type of data, or may be nullNothingnullptra null reference (Nothing in Visual Basic) if no result was set.

Remarks

If data needs to be passed back from the worker thread to the UI thread (informing the UI thread of the result of the worker thread operation), this is accomplished by setting the Result property of the DoWorkEventArgs in the DoWork event handler which occurs on the worker thread. This information is then accessible in the UI thread from this Result property.

See Also