Attempts to retrieve a previously retrieved location again, using its ID (from Id).

Namespace:  Veriplace.Web
Assembly:  Veriplace.Client (in Veriplace.Client.dll) Version: 1.7.0.25986 (1.7.0.0)

Syntax

C#
public void RequireLocation(
	long locationId
)
Visual Basic (Declaration)
Public Sub RequireLocation ( _
	locationId As Long _
)
Visual C++
public:
void RequireLocation(
	long long locationId
)

Parameters

locationId
Type: System..::.Int64
the location's identifying key

Remarks

If you haven't already identified the user or obtained location permission, then this calls RequireUser()()() and/or RequireGetLocationPermission()()() first in the correct order, which may involve redirects. However, the location request itself happens synchronously as a single server call. If this method returns with no exceptions, the location information is now in the Location property.

See Also