The WebRole type exposes the following members.

Methods

  Name Description
AddContentTemplate
Called during page initialization to create a collection of content (from content controls) that is handed to a master page, if the current page or master page refers to a master page.
(Inherited from Page.)
AddedControl
Called after a child control is added to the Controls collection of the Control object.
(Inherited from Control.)
AddOnPreRenderCompleteAsync Overloaded.
AddParsedSubObject
Notifies the server control that an element, either XML or HTML, was parsed, and adds the element to the server control's ControlCollection object.
(Inherited from Control.)
AddWrappedFileDependencies
Adds a list of dependent files that make up the current page. This method is used internally by the ASP.NET page framework and is not intended to be used directly from your code.
(Inherited from Page.)
ApplyStyleSheetSkin
Applies the style properties defined in the page style sheet to the control.
(Inherited from Control.)
AspCompatBeginProcessRequest
Initiates a request for Active Server Page (ASP) resources. This method is provided for compatibility with legacy ASP applications.
(Inherited from Page.)
AspCompatEndProcessRequest
Terminates a request for Active Server Page (ASP) resources. This method is provided for compatibility with legacy ASP applications.
(Inherited from Page.)
AsyncPageBeginProcessRequest
Begins processing an asynchronous page request.
(Inherited from Page.)
AsyncPageEndProcessRequest
Ends processing an asynchronous page request.
(Inherited from Page.)
BuildProfileTree
Gathers information about the server control and delivers it to the Trace property to be displayed when tracing is enabled for the page.
(Inherited from Control.)
ClearChildControlState
Deletes the control-state information for the server control's child controls.
(Inherited from Control.)
ClearChildState
Deletes the view-state and control-state information for all the server control's child controls.
(Inherited from Control.)
ClearChildViewState
Deletes the view-state information for all the server control's child controls.
(Inherited from Control.)
Construct
Performs design-time logic.
(Inherited from TemplateControl.)
CreateChildControls
Called by the ASP.NET page framework to notify server controls that use composition-based implementation to create any child controls they contain in preparation for posting back or rendering.
(Inherited from Control.)
CreateControlCollection
Creates a new ControlCollection object to hold the child controls (both literal and server) of the server control.
(Inherited from Control.)
CreateHtmlTextWriter
Creates an HtmlTextWriter object to render the page's content.
(Inherited from Page.)
CreateResourceBasedLiteralControl
Accesses literal strings stored in a resource. The CreateResourceBasedLiteralControl(Int32, Int32, Boolean) method is not intended for use from within your code.
(Inherited from TemplateControl.)
DataBind Overloaded.
DataBindChildren
Binds a data source to the server control's child controls.
(Inherited from Control.)
DesignerInitialize
Performs any initialization of the instance of the Page class that is required by RAD designers. This method is used only at design time.
(Inherited from Page.)
DeterminePostBackMode
Returns a NameValueCollection of data posted back to the page using either a POST or a GET command.
(Inherited from Page.)
Dispose
Enables a server control to perform final clean up before it is released from memory.
(Inherited from Control.)
EnsureChildControls
Determines whether the server control contains child controls. If it does not, it creates child controls.
(Inherited from Control.)
EnsureID
Creates an identifier for controls that do not have an identifier assigned.
(Inherited from Control.)
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Eval Overloaded.
ExecuteRegisteredAsyncTasks
Starts the execution of an asynchronous task.
(Inherited from Page.)
Finalize
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FindControl Overloaded.
Focus
Sets input focus to a control.
(Inherited from Control.)
FrameworkInitialize
Initializes the control tree during page generation based on the declarative nature of the page.
(Inherited from Page.)
GetDataItem
Gets the data item at the top of the data-binding context stack.
(Inherited from Page.)
GetDesignModeState
Gets design-time data for a control.
(Inherited from Control.)
GetGlobalResourceObject Overloaded.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetLocalResourceObject Overloaded.
GetPostBackClientEvent Obsolete.
Gets a reference that can be used in a client event to post back to the server for the specified control and with the specified event arguments.
(Inherited from Page.)
GetPostBackClientHyperlink Obsolete.
Gets a reference, with javascript: appended to the beginning of it, that can be used in a client event to post back to the server for the specified control and with the specified event arguments.
(Inherited from Page.)
GetPostBackEventReference Overloaded.
GetType
Gets the Type of the current instance.
(Inherited from Object.)
GetTypeHashCode
Retrieves a hash code that is generated by Page objects that are generated at run time. This hash code is unique to the Page object's control hierarchy.
(Inherited from Page.)
GetValidators
Returns a collection of control validators for a specified validation group.
(Inherited from Page.)
GetWrappedFileDependencies
Returns a list of physical file names that correspond to a list of virtual file locations.
(Inherited from Page.)
HasControls
Determines if the server control contains any child controls.
(Inherited from Control.)
HasEvents
Returns a value indicating whether events are registered for the control or any child controls.
(Inherited from Control.)
InitializeCulture
Sets the Culture and UICulture for the current thread of the page.
(Inherited from Page.)
InitOutputCache Overloaded.
IsClientScriptBlockRegistered Obsolete.
Determines whether the client script block with the specified key is registered with the page.
(Inherited from Page.)
IsLiteralContent
Determines if the server control holds only literal content.
(Inherited from Control.)
IsStartupScriptRegistered Obsolete.
Determines whether the client startup script is registered with the Page object.
(Inherited from Page.)
LoadControl Overloaded.
LoadControlState
Restores control-state information from a previous page request that was saved by the SaveControlState()()() method.
(Inherited from Control.)
LoadPageStateFromPersistenceMedium
Loads any saved view-state information to the Page object.
(Inherited from Page.)
LoadTemplate
Obtains an instance of the ITemplate interface from an external file.
(Inherited from TemplateControl.)
LoadViewState
Restores view-state information from a previous page request that was saved by the SaveViewState()()() method.
(Inherited from Control.)
MapPath
Retrieves the physical path that a virtual path, either absolute or relative, or an application-relative path maps to.
(Inherited from Page.)
MapPathSecure
Retrieves the physical path that a virtual path, either absolute or relative, maps to.
(Inherited from Control.)
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
OnAbortTransaction
Raises the AbortTransaction event.
(Inherited from TemplateControl.)
OnBubbleEvent
Determines whether the event for the server control is passed up the page's UI server control hierarchy.
(Inherited from Control.)
OnCommitTransaction
Raises the CommitTransaction event.
(Inherited from TemplateControl.)
OnDataBinding
Raises the DataBinding event.
(Inherited from Control.)
OnError
Raises the Error event.
(Inherited from TemplateControl.)
OnInit
Raises the Init event to initialize the page.
(Inherited from Page.)
OnInitComplete
Raises the InitComplete event after page initialization.
(Inherited from Page.)
OnLoad
Raises the Load event.
(Inherited from Control.)
OnLoadComplete
Raises the LoadComplete event at the end of the page load stage.
(Inherited from Page.)
OnPreInit
Raises the PreInit event at the beginning of page initialization.
(Inherited from Page.)
OnPreLoad
Raises the PreLoad event after postback data is loaded into the page server controls but before the OnLoad(EventArgs) event.
(Inherited from Page.)
OnPreRender
Raises the PreRender event.
(Inherited from Control.)
OnPreRenderComplete
Raises the PreRenderComplete event after the OnPreRenderComplete(EventArgs) event and before the page is rendered.
(Inherited from Page.)
OnSaveStateComplete
Raises the SaveStateComplete event after the page state has been saved to the persistence medium.
(Inherited from Page.)
OnUnload
Raises the Unload event.
(Inherited from Control.)
OpenFile
Gets a Stream used to read a file.
(Inherited from Control.)
ParseControl Overloaded.
ProcessRequest
Sets the intrinsics of the Page, such as the Context, Request, Response, and Application properties.
(Inherited from Page.)
RaiseBubbleEvent
Assigns any sources of the event and its information to the control's parent.
(Inherited from Control.)
RaisePostBackEvent
Notifies the server control that caused the postback that it should handle an incoming postback event.
(Inherited from Page.)
ReadStringResource
Reads a string resource. The ReadStringResource()()() method is not intended for use from within your code.
(Inherited from TemplateControl.)
RegisterArrayDeclaration Obsolete.
Declares a value that is declared as an ECMAScript array declaration when the page is rendered.
(Inherited from Page.)
RegisterAsyncTask
Registers a new asynchronous task with the page.
(Inherited from Page.)
RegisterClientScriptBlock Obsolete.
Emits client-side script blocks to the response.
(Inherited from Page.)
RegisterHiddenField Obsolete.
Allows server controls to automatically register a hidden field on the form. The field will be sent to the Page object when the HtmlForm server control is rendered.
(Inherited from Page.)
RegisterOnSubmitStatement Obsolete.
Allows a page to access the client OnSubmit event. The script should be a function call to client code registered elsewhere.
(Inherited from Page.)
RegisterRequiresControlState
Registers a control as one whose control state must be persisted.
(Inherited from Page.)
RegisterRequiresPostBack
Registers a control as one that requires postback handling when the page is posted back to the server.
(Inherited from Page.)
RegisterRequiresRaiseEvent
Registers an ASP.NET server control as one requiring an event to be raised when the control is processed on the Page object.
(Inherited from Page.)
RegisterRequiresViewStateEncryption
Registers a control with the page as one requiring view-state encryption.
(Inherited from Page.)
RegisterStartupScript Obsolete.
Emits a client-side script block in the page response.
(Inherited from Page.)
RegisterViewStateHandler
Causes page view state to be persisted, if called.
(Inherited from Page.)
RemovedControl
Called after a child control is removed from the Controls collection of the Control object.
(Inherited from Control.)
Render (Inherited from BasePage.)
RenderChildren
Outputs the content of a server control's children to a provided HtmlTextWriter object, which writes the content to be rendered on the client.
(Inherited from Control.)
RenderControl Overloaded.
RequiresControlState
Determines whether the specified Control object is registered to participate in control state management.
(Inherited from Page.)
ResolveAdapter
Gets the control adapter responsible for rendering the specified control.
(Inherited from Control.)
ResolveClientUrl
Gets a URL that can be used by the browser.
(Inherited from Control.)
ResolveUrl
Converts a URL into one that is usable on the requesting client.
(Inherited from Control.)
SaveControlState
Saves any server control state changes that have occurred since the time the page was posted back to the server.
(Inherited from Control.)
SavePageStateToPersistenceMedium
Saves any view-state and control-state information for the page.
(Inherited from Page.)
SaveViewState
Saves any server control view-state changes that have occurred since the time the page was posted back to the server.
(Inherited from Control.)
SetDesignModeState
Sets design-time data for a control.
(Inherited from Control.)
SetFocus Overloaded.
SetRenderMethodDelegate
Assigns an event handler delegate to render the server control and its content into its parent control.
(Inherited from Control.)
SetStringResourcePointer
Sets a pointer to a string resource. The SetStringResourcePointer(Object, Int32) method is used by generated classes and is not intended for use from within your code.
(Inherited from TemplateControl.)
TestDeviceFilter
Returns a Boolean value indicating whether a device filter applies to the HTTP request.
(Inherited from TemplateControl.)
ToString
Returns a String that represents the current Object.
(Inherited from Object.)
TrackViewState
Causes tracking of view-state changes to the server control so they can be stored in the server control's StateBag object. This object is accessible through the ViewState property.
(Inherited from Control.)
UnregisterRequiresControlState
Stops persistence of control state for the specified control.
(Inherited from Page.)
Validate Overloaded.
VerifyRenderingInServerForm
Confirms that an HtmlForm control is rendered for the specified ASP.NET server control at run time.
(Inherited from Page.)
WriteUTF8ResourceString
Writes a resource string to an HtmlTextWriter control. The WriteUTF8ResourceString(HtmlTextWriter, Int32, Int32, Boolean) method is used by generated classes and is not intended for use from within your code.
(Inherited from TemplateControl.)
XPath Overloaded.
XPathSelect Overloaded.

See Also