Edit

Share via


ResolveAddressCompletedEventArgs Constructor

Definition

Initializes a new instance of ResolveAddressCompletedEventArgs.

public:
 ResolveAddressCompletedEventArgs(System::Device::Location::CivicAddress ^ address, Exception ^ error, bool cancelled, System::Object ^ userState);
public ResolveAddressCompletedEventArgs (System.Device.Location.CivicAddress address, Exception error, bool cancelled, object userState);
new System.Device.Location.ResolveAddressCompletedEventArgs : System.Device.Location.CivicAddress * Exception * bool * obj -> System.Device.Location.ResolveAddressCompletedEventArgs
Public Sub New (address As CivicAddress, error As Exception, cancelled As Boolean, userState As Object)

Parameters

address
CivicAddress

The CivicAddress that contains the address resolved from the latitude/longitude location, if successful.

error
Exception

The exception object for any exception that may have occurred during the attempt to resolve the address.

cancelled
Boolean

true if the operation was cancelled; otherwise, false.

userState
Object

A token for tracking the request to resolve the address. May be null if not used.

Remarks

This constructor is public so that classes implementing the ICivicAddressResolver interface can create this object to fire events.

Applies to