OnInit Method

HealthVault
Initializes the page to use SSL if necessary.

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

protected override void OnInit(
	EventArgs e
)

Parameters

e
Type: System..::..EventArgs
Event arguments for the Init event thrown

This is called on init of every page. We handle the SSL redirection at this point. Any page inheriting this class and wanting to be an insecure page must override this delegate method and set the isSecure member variable to false before calling the parent init.
Show: