RoleEntryPoint Members

Provides methods to run code when a role instance is initialized, run, and stopped.

The following tables list the members exposed by the RoleEntryPoint type.

Protected Constructors

  Name Description
  RoleEntryPoint Initializes a new instance of the RoleEntryPoint class.


Public Methods

(see also Protected Methods)

  Name Description
public method Equals  (Inherited from Object)
public method GetHashCode  (Inherited from Object)
public method GetType  (Inherited from Object)
public method OnStart Runs code that initializes a role instance.
public method OnStop Runs code when a role instance is to be stopped.
public method Run Runs code that is intended to be run for the life of the role instance.
public method ToString  (Inherited from Object)


Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)


See Also


RoleEntryPoint Class
Microsoft.WindowsAzure.ServiceRuntime Namespace