RoleEnvironment Properties
Namespace:
Microsoft.WindowsAzure.ServiceRuntime
Assembly: Microsoft.WindowsAzure.ServiceRuntime (in Microsoft.WindowsAzure.ServiceRuntime.dll)
| 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 Microsoft Azure compute emulator. |
![]() ![]() | Roles | Gets the set of Role objects defined for the hosted service. |
Show:

