Export (0) Print
Expand All

RedirectToShellUrl Method (HttpContext, String, String)

HealthVault
Redirects to the HealthVault Shell URL with the queryString params appended.

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

public static void RedirectToShellUrl(
	HttpContext context,
	string targetLocation,
	string targetQuery
)

Parameters

context
Type: System.Web..::..HttpContext
The current request context.
targetLocation
Type: System..::..String
A known constant indicating the internal HealthVault service Shell location to redirect to. See Shell redirect interface.
targetQuery
Type: System..::..String
The query string value to pass to the URL to which redirection is taking place.

The targetLocation will be passed as the target parameter value to the redirector URL. The targetQuery will be URL encoded and passed as the targetqs parameter value to the redirector URL.
Show:
© 2014 Microsoft