Back to Devexpress

BingTrafficIncidentDataProvider.TrafficIncidentCalculated Event

wpf-devexpress-dot-xpf-dot-map-dot-bingtrafficincidentdataprovider.md

latest3.2 KB
Original Source

BingTrafficIncidentDataProvider.TrafficIncidentCalculated Event

Occurs after the provider has received a list of traffic incidents.

Namespace : DevExpress.Xpf.Map

Assembly : DevExpress.Xpf.Map.v25.2.dll

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public event BingTrafficIncidentCalculatedEventHandler TrafficIncidentCalculated
vb
Public Event TrafficIncidentCalculated As BingTrafficIncidentCalculatedEventHandler

Event Data

The TrafficIncidentCalculated event's data class is BingTrafficIncidentCalculatedEventArgs. The following properties provide information specific to this event:

PropertyDescription
CancelledGets a value indicating whether an asynchronous operation has been canceled. Inherited from AsyncCompletedEventArgs.
ErrorGets a value indicating which error occurred during an asynchronous operation. Inherited from AsyncCompletedEventArgs.
RequestResultReturns results of a request to a web service for traffic incident information.
UserStateGets the unique identifier for the asynchronous task. Inherited from AsyncCompletedEventArgs.

The event data class exposes the following methods:

MethodDescription
RaiseExceptionIfNecessary()Raises a user-supplied exception if an asynchronous operation failed. Inherited from AsyncCompletedEventArgs.

See Also

DevExpress Map Control for WPF: Migrate from Bing Maps to Azure Maps

BingTrafficIncidentDataProvider Class

BingTrafficIncidentDataProvider Members

DevExpress.Xpf.Map Namespace