Show / Hide Table of Contents

Event GeoModelErrorChanged

An event to notify that there is a geo model error with the view.

Namespace: Esri.ArcGISRuntime.UI.Controls
Assembly: Esri.ArcGISRuntime.WinUI.dll
Syntax
public event EventHandler<Exception?>? GeoModelErrorChanged
Returns
Type Description
EventHandler<Exception> An event to notify that there is a geo model error with the view.
Remarks

This error is used to indicate that the GeoModel assigned to the view had an issue loading or didn't meet the requirements after loading, resulting in nothing rendering on screen.

This event can be raised multiple times but only one error can be active at a time. It will be raised when there is a error and when that error gets cleared. When the error is cleared, then the error is represented as null.

Examples of a possible error include:

  • GeoModel has a LoadError.
  • Incompatible ViewingMode.
  • GeoModel has an incompatible spatial reference.
  • GeoModel has incompatible vertical and horizontal datums.

Applies to

TargetVersions
.NET Windows300
In this article
Provide feedback
Back to top Copyright © 2025 Esri.