Skip to main content

LocationInformationReceivedEventArgs(GeocodeRequestResult, Exception, Boolean, Object) Constructor

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

Namespace: DevExpress.XtraMap

Assembly: DevExpress.XtraMap.v24.1.dll

NuGet Package: DevExpress.Win.Map

Declaration

public LocationInformationReceivedEventArgs(
    GeocodeRequestResult result,
    Exception error,
    bool cancelled,
    object userState
)

Parameters

Name Type Description
result GeocodeRequestResult

A GeocodeRequestResult object specifying the event result. This value is assigned to the LocationInformationReceivedEventArgs.Result 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 whether or not receiving information 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 LocationInformationReceivedEventArgs class are automatically created, initialized and passed to the corresponding event handlers.

See Also