Class MapSessionDatasetRenderFailedEventArgs
Describes a MapsuiDatasetLayerSession dataset render that failed while the session was refreshing other datasets and therefore swallowed the error to keep them rendering.
public sealed class MapSessionDatasetRenderFailedEventArgs : MapSessionDatasetRenderEventArgs
- Inheritance
-
MapSessionDatasetRenderFailedEventArgs
- Inherited Members
Remarks
This is raised only for failures the session absorbs during a coalesced refresh (TimeRefresh or PresentationRefresh). A single RenderAsync(MapDatasetId, MapPresentationState, CancellationToken) surfaces its error by throwing to the awaiting caller instead.
Constructors
MapSessionDatasetRenderFailedEventArgs(MapDatasetId, MapSessionRenderKind, Exception)
Creates the event arguments.
public MapSessionDatasetRenderFailedEventArgs(MapDatasetId datasetId, MapSessionRenderKind kind, Exception exception)
Parameters
datasetIdMapDatasetIdThe dataset identity that failed to render.
kindMapSessionRenderKindThe refresh operation during which the failure occurred.
exceptionExceptionThe captured render failure.
Properties
Exception
The captured render failure.
public Exception Exception { get; }