ResolveAddressCompletedEventArgs Constructor (CivicAddress^, Exception^, Boolean, Object^)

.NET Framework (current version)
 

Initializes a new instance of ResolveAddressCompletedEventArgs.

Namespace:   System.Device.Location
Assembly:  System.Device (in System.Device.dll)

public:
ResolveAddressCompletedEventArgs(
	CivicAddress^ address,
	Exception^ error,
	bool cancelled,
	Object^ userState
)

Parameters

address
Type: System.Device.Location::CivicAddress^

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

error
Type: System::Exception^

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

cancelled
Type: System::Boolean

true if the operation was cancelled; otherwise, false.

userState
Type: System::Object^

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

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

.NET Framework
Available since 4.0
Windows Phone Silverlight
Available since 7.0
Return to top
Show: