A newer version of this page is available. Switch to the current version.

RequestCompletedEventArgs(MapItem[], Exception, Boolean, Object) Constructor

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

Namespace: DevExpress.Xpf.Map

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

Declaration

public RequestCompletedEventArgs(
    MapItem[] items,
    Exception error,
    bool cancelled,
    object userState
)

Parameters

Name Type Description
items MapItem[]

An array of MapItem objects.

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 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 RequestCompletedEventArgs class are automatically created, initialized and passed to the corresponding event handlers.

See Also