BingSearchCompletedEventArgs(SearchRequestResult, Exception, Boolean, Object) Constructor

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

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v20.2.dll

Declaration

public BingSearchCompletedEventArgs(
    SearchRequestResult requestResult,
    Exception error,
    bool cancelled,
    object userState
)
Public Sub New(
    requestResult As SearchRequestResult,
    error As Exception,
    cancelled As Boolean,
    userState As Object
)

Parameters

Name Type Description
requestResult SearchRequestResult

A SearchRequestResult object specifying the request result. This value is assigned to the SearchCompletedEventArgs.RequestResult property.

error Exception

A Exception object containing information about the error, if it occurred when raising this event. This value is assigned to the Error property.

cancelled Boolean

A Boolean value containing information on whether or not the search operation should be cancelled. This value is assigned to the Cancelled property.

userState Object

A Object specifying the user state. This value is assigned to the UserState property.

Remarks

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

See Also