This topic has not yet been rated - Rate this topic

RoleEnvironment Members

Provides information about the configuration, endpoints, and status of running role instances.

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

  Name Description
public property static CurrentRoleInstance Gets a RoleInstance object that represents the role instance in which the code is currently running.
public property static DeploymentId Gets the unique identifier of the deployment in which the role instance is running.
public property static IsAvailable Indicates whether the role instance is running in the Windows Azure environment.
public property static IsEmulated Indicates whether the role instance is running in the Windows Azure compute emulator.
public property static Roles Gets the set of Role objects defined for the hosted service.
Top
(see also Protected Methods)
 NameDescription
public methodEquals  (Inherited from Object)
public methodstaticGetConfigurationSettingValueRetrieves the value of a setting in the service configuration file.
public methodGetHashCode  (Inherited from Object)
public methodstaticGetLocalResourceRetrieves a specified local storage resource.
public methodGetType  (Inherited from Object)
public methodstaticRequestRecycleRequests that the current role instance be stopped and restarted.
public methodToString  (Inherited from Object)
Top
  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
Top
  Name Description
public event static Changed Occurs after a change to the service configuration is applied to the running instances of a role.
public event static Changing Occurs before a change to the service configuration is applied to the running instances of a role.
public event static StatusCheck Occurs at a regular interval to indicate the status of a role instance.
public event static Stopping Occurs when a role instance is about to be stopped.
Top

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.