HealthServiceActionPage HealthServiceActionPage HealthServiceActionPage Class

Definition

A redirector page to be used as the "action" page for Microsoft HealthVault applications.

[System.Security.SecurityCritical]
public class HealthServiceActionPage : Microsoft.Health.Web.HealthServicePage
type HealthServiceActionPage = class
    inherit HealthServicePage
Public Class HealthServiceActionPage
Inherits HealthServicePage
Inheritance
HealthServiceActionPageHealthServiceActionPageHealthServiceActionPage
Attributes

Remarks

All HealthVault applications are required to expose a set of URLs for information and functionality that they expose. For instance, all applications must expose a Service Agreement, privacy statement, a home page, help, etc.

This page acts as a simple redirector for these action pages such that the application can easily configure these action pages through their web.config file.

To use this page, create an action.aspx file at the URL that was specified for the "action URL" when your application was registered. That action.aspx file should point to this class for it's implementation. In your web.config file, add entries for each of the action URLs that your application supports using WCPage_Action as the prefix for the key. For example, for the Service Agreement action URL create a setting in the web.config with key WCPage_ActionServiceAgreement and value containing the URL to your application Service Agreement.

The page should also contain some text stating that the application doesn't support the particular action in case the redirect doesn't occur. The action that is being requested can be found in the Action property and the action query string can be found the ActionQueryString property.

Constructors

HealthServiceActionPage() HealthServiceActionPage() HealthServiceActionPage()

Properties

Action Action Action

Gets the action that was specified in the query string.

ActionQueryString ActionQueryString ActionQueryString

Gets the "actionqs" query string parameter that was specified on the request.

ApplicationAuthenticationCredential ApplicationAuthenticationCredential ApplicationAuthenticationCredential

Gets a credential used to authenticate the web application to HealthVault.

(Inherited from HealthServicePage)
ApplicationConnection ApplicationConnection ApplicationConnection

Gets a HealthVault connection authenticated at tier 1 for the configured default HealthVault web-service instance.

(Inherited from HealthServicePage)
ApplicationId ApplicationId ApplicationId

Gets or sets the unique application identifier.

(Inherited from HealthServicePage)
AuthenticatedConnection AuthenticatedConnection AuthenticatedConnection

Gets a HealthVault connection authenticated at tier 3.

(Inherited from HealthServicePage)
DictionaryConnection DictionaryConnection DictionaryConnection

Gets a HealthVault connection without an authentication token.

(Inherited from HealthServicePage)
IsLoggedIn IsLoggedIn IsLoggedIn

Gets whether a person is logged-in or not.

(Inherited from HealthServicePage)
IsMra IsMra IsMra

Gets a value indicating whether the page is for multi-record application.

(Inherited from HealthServicePage)
IsPageSslSecure IsPageSslSecure IsPageSslSecure

Gets a value indicating whether a page wants to use SSL for security.

(Inherited from HealthServicePage)
LogOnRequired LogOnRequired LogOnRequired

The action page does not require log on.

PersonInfo PersonInfo PersonInfo

Gets information about the logged-in person.

(Inherited from HealthServicePage)

Methods

GetTargetLocation(String, String) GetTargetLocation(String, String) GetTargetLocation(String, String)

Gets the URL of the location and the query string for the specified action.

InitializeUserData(Boolean) InitializeUserData(Boolean) InitializeUserData(Boolean)

Initializes the user data for the page.

(Inherited from HealthServicePage)
OnActionApplicationAuthorizationFailed(String, String) OnActionApplicationAuthorizationFailed(String, String) OnActionApplicationAuthorizationFailed(String, String)

Redirects to the application's authorization page using the WCPage_ActionAppAuthFailure configuration value in the web.config.

OnActionApplicationAuthorizationInvalidRecord(String, String) OnActionApplicationAuthorizationInvalidRecord(String, String) OnActionApplicationAuthorizationInvalidRecord(String, String)

Redirects to the application's authorization page using the WCPage_ActionAppAuthInvalidRecord configuration value in the web.config.

OnActionApplicationAuthorizationRejected(String, String) OnActionApplicationAuthorizationRejected(String, String) OnActionApplicationAuthorizationRejected(String, String)

Redirects to the application's authorization page using the WCPage_ActionAppAuthReject configuration value in the web.config.

OnActionApplicationAuthorizationSuccessful(String, String) OnActionApplicationAuthorizationSuccessful(String, String) OnActionApplicationAuthorizationSuccessful(String, String)

Redirects to the application's authorization page using the WCPage_ActionAppAuthSuccess configuration value in the web.config.

OnActionCreateRecordCanceled(String, String) OnActionCreateRecordCanceled(String, String) OnActionCreateRecordCanceled(String, String)

Redirects to the application's record management page using the WCPage_ActionCreateRecordCanceled configuration value in the web.config.

OnActionCreateRecordFailure(String, String) OnActionCreateRecordFailure(String, String) OnActionCreateRecordFailure(String, String)

Redirects to the application's record management page using the WCPage_ActionCreateRecordFailure configuration value in the web.config.

OnActionHelp(String, String) OnActionHelp(String, String) OnActionHelp(String, String)

Redirects to the application's help page using the WCPage_ActionHelp configuration value in the web.config.

OnActionHome(String, String) OnActionHome(String, String) OnActionHome(String, String)

Redirects to the application's home page using the WCPage_ActionHome configuration value in the web.config.

OnActionPrivacy(String, String) OnActionPrivacy(String, String) OnActionPrivacy(String, String)

Redirects to the application's privacy page using the WCPage_ActionPrivacy configuration value in the web.config.

OnActionReconcileCanceled(String, String) OnActionReconcileCanceled(String, String) OnActionReconcileCanceled(String, String)

Redirects to the application's clinical document page using the WCPage_ActionReconcileCanceled configuration value in the web.config.

OnActionReconcileComplete(String, String) OnActionReconcileComplete(String, String) OnActionReconcileComplete(String, String)

Redirects to the application's clinical document page using the WCPage_ActionReconcileSuccess configuration value in the web.config.

OnActionReconcileFailure(String, String) OnActionReconcileFailure(String, String) OnActionReconcileFailure(String, String)

Redirects to the application's clinical document page using the WCPage_ActionReconcileFailure configuration value in the web.config.

OnActionReconcileSuccess(String, String) OnActionReconcileSuccess(String, String) OnActionReconcileSuccess(String, String)

Redirects to the application's clinical document page using the WCPage_ActionReconcileSuccess configuration value in the web.config.

OnActionSelectedRecordChanged(String, String) OnActionSelectedRecordChanged(String, String) OnActionSelectedRecordChanged(String, String)

Redirects to the application's record management page using the WCPage_ActionSelectedRecordChanged configuration value in the web.config.

OnActionServiceAgreement(String, String) OnActionServiceAgreement(String, String) OnActionServiceAgreement(String, String)

Redirects to the application's service agreement page using the WCPage_ActionServiceAgreement configuration value in the web.config.

OnActionShareRecordFailed(String, String) OnActionShareRecordFailed(String, String) OnActionShareRecordFailed(String, String)

Redirects to the application's record management page using the WCPage_ActionShareRecordFailed configuration value in the web.config.

OnActionShareRecordSucceeded(String, String) OnActionShareRecordSucceeded(String, String) OnActionShareRecordSucceeded(String, String)

Redirects to the application's record management page using the WCPage_ActionShareRecordSuccess configuration value in the web.config.

OnActionSignOut(String, String) OnActionSignOut(String, String) OnActionSignOut(String, String)

Redirects to the application's signout page using the WCPage_ActionSignOut configuration value in the web.config.

OnActionUnknown(String, String) OnActionUnknown(String, String) OnActionUnknown(String, String)

Redirects to the specified action page if specified in the web.config file.

OnInit(EventArgs) OnInit(EventArgs) OnInit(EventArgs)

Initializes the page to use SSL if necessary.

(Inherited from HealthServicePage)
OnPreLoad(EventArgs) OnPreLoad(EventArgs) OnPreLoad(EventArgs)

Handles the PreLoad event for the page.

(Inherited from HealthServicePage)
Page_Load(Object, EventArgs) Page_Load(Object, EventArgs) Page_Load(Object, EventArgs)

Reads the target from the query string calls the appropriate virtual method to perform the action.

RedirectToLogOn() RedirectToLogOn() RedirectToLogOn()

Redirects the caller's browser to the logon page for authentication.

(Inherited from HealthServicePage)
RedirectToLogOn(Boolean) RedirectToLogOn(Boolean) RedirectToLogOn(Boolean)

Redirects the caller's browser to the logon page for authentication.

(Inherited from HealthServicePage)
RedirectToShellUrl(String) RedirectToShellUrl(String) RedirectToShellUrl(String)

Redirects to the HealthVault Shell URL with the query string params appended.

(Inherited from HealthServicePage)
RedirectToShellUrl(String, String) RedirectToShellUrl(String, String) RedirectToShellUrl(String, String)

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

(Inherited from HealthServicePage)
RedirectToShellUrl(String, String, String) RedirectToShellUrl(String, String, String) RedirectToShellUrl(String, String, String)

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

(Inherited from HealthServicePage)
RefreshAndPersist() RefreshAndPersist() RefreshAndPersist()

Cleans the application's session of HealthVault information and then repopulates it.

(Inherited from HealthServicePage)
RefreshAndPersist(String) RefreshAndPersist(String) RefreshAndPersist(String)

Cleans the application's session of HealthVault information and then repopulates it using the specified authentication token.

(Inherited from HealthServicePage)
SetSelectedRecord(HealthRecordInfo) SetSelectedRecord(HealthRecordInfo) SetSelectedRecord(HealthRecordInfo)

Sets the selected health record for the application.

(Inherited from HealthServicePage)
SignOut() SignOut() SignOut()

Signs the person out, cleans up the HealthVault session information, and redirects the user's browser to the signout action URL.

(Inherited from HealthServicePage)
SignOut(String) SignOut(String) SignOut(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.

(Inherited from HealthServicePage)
StripFromQueryString(String[]) StripFromQueryString(String[]) StripFromQueryString(String[])

remove one variable from query string

(Inherited from HealthServicePage)

Applies to