BingRouteCalculatedEventArgs(RouteCalculationResult, Exception, Boolean, Object) Constructor
Initializes a new instance of the BingRouteCalculatedEventArgs class with the specified values of event arguments.
Namespace: DevExpress.Xpf.Map
Assembly: DevExpress.Xpf.Map.v24.2.dll
NuGet Package: DevExpress.Wpf.Map
#Declaration
public BingRouteCalculatedEventArgs(
RouteCalculationResult calculationResult,
Exception error,
bool cancelled,
object userState
)
#Parameters
Name | Type | Description |
---|---|---|
calculation |
Route |
A Route |
error | Exception | A Exception object specifying the error occurred during the asynchronous operation. This value is assigned to the Error property. |
cancelled | Boolean | A Boolean value indicating whether the asynchronous operation was canceled. This value is assigned to the Cancelled property. |
user |
Object | A Object that is the optional user-supplied state object passed to the Run |
#Remarks
Instances of the BingRouteCalculatedEventArgs class are automatically created, initialized and passed to the corresponding event handlers.