RedirectToShellUrl Method (HttpContext, String, String, String)

RedirectToShellUrl Method (HttpContext, String, 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,
	string actionUrlQueryString
)

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.
actionUrlQueryString
Type: System..::..String
The query string parameters passed to the calling application action URL after the target action is completed in the Shell.

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. The actionUrlQueryString will be URL encoded and passed as the actionqs parameter value to the redirector URL.
Show:
© 2016 Microsoft