Export (0) Print
Expand All

WebApplicationUtilities Methods

HealthVault

The WebApplicationUtilities type exposes the following members.

  NameDescription
Public method Static member Compress(String)
Compress incoming string.
Public method Static member Compress(String, Int32%)
Compress incoming string.
Public method Static member ConstructShellTargetUrl(HttpContext, ShellRedirectParameters)
Constructs a URL to be redirected to via the HealthVault URL redirector.
Public method Static member ConstructShellTargetUrl(HttpContext, String)
Constructs a URL to be redirected to via the HealthVault URL redirector.
Public method Static member ConstructShellTargetUrl(HttpContext, String, String)
Constructs a URL to be redirected to via the HealthVault URL redirector.
Public method Static member ConstructShellTargetUrl(HttpContext, String, String, String)
Constructs a URL to be redirected to via the HealthVault URL redirector.
Public method Static member Decompress
Decompress a compressed string.
Public method Static member GetAnonymousConnectionForInstance
Gets a HealthVault connection for the specified HealthVault web-service instance without an authentication token for either the user or the application.
Public method Static member GetApplicationAuthenticationCredential
Gets a credential used to authenticate the web application to Microsoft HealthVault.
Public method Static member GetApplicationConnection(Guid)
Gets a HealthVault application connection without a user context for the configured default HealthVault web-service instance.
Public method Static member GetApplicationConnection(HealthServiceInstance)
Gets a HealthVault application connection without a user context for the specified HealthVault web-service instance.
Public method Static member GetApplicationConnection(Guid, HealthServiceInstance)
Gets a HealthVault application connection without a user context for the specified HealthVault web-service instance.
Public method Static member GetAuthenticatedConnection
Gets a HealthVault connection for the authenticated user.
Public method Static member GetDictionaryConnectionForInstance
Gets a HealthVault connection for the specified HealthVault web-service instance, without an authentication token for the user but with an application authentication token, which can be used to access vocabularies.
Public method Static member GetPersonInfo(String)
Gets the authenticated person's information using the specified authentication token from the configured default HealthVault web-service instance.
Public method Static member GetPersonInfo(String, HealthServiceInstance)
Gets the authenticated person's information using the specified authentication token from the specified HealthVault web-service instance.
Public method Static member GetPersonInfo(String, Guid)
Gets the authenticated person's information using the specified authentication token, from the specified HealthVault web-service instance.
Public method Static member GetPersonInfo(String, Guid, HealthServiceInstance)
Gets the authenticated person's information using the specified authentication token, from the specified HealthVault web-service instance.
Public method Static member GotoHelp
Redirects application to Shell help page
Public method Static member LoadPersonInfoFromCookie(HttpContext)
Gets the person's information from the cookie.
Public method Static member LoadPersonInfoFromCookie(HttpCookie)
Gets the person's information from the cookie.
Public method Static member PageOnInit
Replicates the OnInit(EventArgs) behavior by redirecting to a secure version of the page if the URL requested is insecure and the application requires a secure connection.
Public method Static member PageOnPreLoad(HttpContext, Boolean)
Ensures that the person is logged on if logOnRequired is true.
Public method Static member PageOnPreLoad(HttpContext, Boolean, Boolean)
Ensures that the person is logged on if logOnRequired is true.
Public method Static member PageOnPreLoad(HttpContext, Boolean, Guid)
Ensures that the person is logged on if logOnRequired is true.
Public method Static member PageOnPreLoad(HttpContext, Boolean, Boolean, Guid)
Ensures that the person is logged on if logOnRequired is true.
Public method Static member RedirectToLogOn(HttpContext)
Redirects the caller's browser to the logon page for authentication.
Public method Static member RedirectToLogOn(HttpContext, ShellRedirectParameters)
Redirects the caller's browser to the logon page for authentication.
Public method Static member RedirectToLogOn(HttpContext, Boolean)
Redirects the caller's browser to the logon page for authentication.
Public method Static member RedirectToLogOn(HttpContext, Boolean, String)
Redirects the caller's browser to the logon page for authentication.
Public method Static member RedirectToLogOn(HttpContext, Boolean, String, String)
Redirects the caller's browser to the logon page for authentication.
Public method Static member RedirectToShellUrl(HttpContext, ShellRedirectParameters)
Redirects to the HealthVault Shell URL with the query string params appended.
Public method Static member RedirectToShellUrl(HttpContext, String)
Redirects to the HealthVault Shell URL with the query string params appended.
Public method Static member RedirectToShellUrl(HttpContext, String, String)
Redirects to the HealthVault Shell URL with the queryString params appended.
Public method Static member RedirectToShellUrl(HttpContext, String, String, String)
Redirects to the HealthVault Shell URL with the queryString params appended.
Public method Static member RefreshAndSavePersonInfoToCookie(HttpContext, PersonInfo)
Cleans the application's session of HealthVault information and then repopulates it.
Public method Static member RefreshAndSavePersonInfoToCookie(HttpContext, String)
Cleans the application's session of HealthVault information and then repopulates it using the specified authentication.
Public method Static member RefreshAndSavePersonInfoToCookie(HttpContext, String, HealthServiceInstance)
Cleans the application's session of HealthVault information and then repopulates it using the specified authentication token and HealthVault web-service instance.
Public method Static member SavePersonInfoToCookie(PersonInfo)
Stores the specified person's information in the cookie.
Public method Static member SavePersonInfoToCookie(HttpContext, PersonInfo)
Stores the specified person's information in the cookie.
Public method Static member SavePersonInfoToCookie(PersonInfo, HttpCookie)
Stores the specified person's information in the cookie.
Public method Static member SavePersonInfoToCookie(HttpContext, PersonInfo, Boolean)
Stores the specified person's information in the cookie.
Public method Static member SignOut(HttpContext)
Signs the person out, cleans up the HealthVault session information, and redirects the user's browser to the signout action URL.
Public method Static member SignOut(HttpContext, Guid)
Signs the person out, cleans up the HealthVault session information, and redirects the user's browser to the signout action URL.
Public method Static member SignOut(HttpContext, String)
Signs the person out, cleans up the HealthVault session information, and redirects the user's browser to the signout action URL with the specified querystring parameter if any.
Public method Static member SignOut(HttpContext, String, Guid)
Signs the person out, cleans up the HealthVault session information, and redirects the user's browser to the signout action URL with the specified querystring parameter if any.
Public method Static member SignOut(HttpContext, String, Guid, String)
Signs the person out, cleans up the HealthVault session information, and redirects the user's browser to the signout action URL with the specified querystring parameter (including user's credential token) if any.
Public method Static member SignOut(HttpContext, String, Guid, String, HealthServiceInstance)
Signs the person out, cleans up the HealthVault session information, and redirects the user's browser to the signout action URL with the specified querystring parameter (including user's credential token) if any.
Public method Static member SignOut(HttpContext, String, Guid, String, String)
Signs the person out, cleans up the HealthVault session information, and redirects the user's browser to the signout action URL with the specified querystring parameter (including user's credential token) if any.
Show:
© 2014 Microsoft