ConstructShellTargetUrl Method (String)

HealthVault
Constructs a URL to be redirected to via the HealthVault URL redirector.

Namespace: Microsoft.Health.Web
Assembly: Microsoft.Health.Web (in Microsoft.Health.Web.dll) Version: 2.1.0.0 (1.15.1003.9505)

public static Uri ConstructShellTargetUrl(
	string targetLocation
)

Parameters

targetLocation
Type: System..::..String
A known constant indicating the internal HealthVault service Shell location to redirect to. See Shell redirect interface.

Return Value

The constructed URL.

The targetLocation will be passed as the target parameter value to the redirector URL.

ExceptionCondition
System..::..UriFormatException If the specific target location causes an improper URL to be constructed.
Show: