BingRouteCalculatedEventArgs(RouteCalculationResult, Exception, Boolean, Object) Constructor

Initializes a new instance of the BingRouteCalculatedEventArgs class with the specified settings.

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v20.2.dll

Declaration

public BingRouteCalculatedEventArgs(
    RouteCalculationResult calculationResult,
    Exception error,
    bool cancelled,
    object userState
)
Public Sub New(
    calculationResult As RouteCalculationResult,
    error As Exception,
    cancelled As Boolean,
    userState As Object
)

Parameters

Name Type Description
calculationResult RouteCalculationResult

A RouteCalculationResult object specifying the result. This value is assigned to the BingRouteCalculatedEventArgs.CalculationResult property.

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.

userState Object

A Object that is the optional user-supplied state object passed to the RunWorkerAsync method. This value is assigned to the UserState property.

Remarks

Instances of the BingRouteCalculatedEventArgs class are automatically created, initialized and passed to the corresponding event handlers.

See Also