RoleEnvironment Properties
| Name | Description | |
|---|---|---|
|
CurrentRoleInstance | Gets a RoleInstance object that represents the role instance in which the code is currently running. |
|
DeploymentId | Gets the unique identifier of the deployment in which the role instance is running. |
|
IsAvailable | Indicates whether the role instance is running in the Windows Azure environment. |
|
IsEmulated | Indicates whether the role instance is running in the Windows Azure compute emulator. |
|
Roles | Gets the set of Role objects defined for the hosted service. |