RoleEnvironment Properties

 

Namespace:   Microsoft.WindowsAzure.ServiceRuntime
Assembly:  Microsoft.WindowsAzure.ServiceRuntime (in Microsoft.WindowsAzure.ServiceRuntime.dll)

Properties

Name Description
System_CAPS_pubpropertySystem_CAPS_static CurrentRoleInstance

Gets a RoleInstance object that represents the role instance in which the code is currently running.

System_CAPS_pubpropertySystem_CAPS_static DeploymentId

Gets the unique identifier of the deployment in which the role instance is running.

System_CAPS_pubpropertySystem_CAPS_static IsAvailable

Indicates whether the role instance is running in the Windows Azure environment.

System_CAPS_pubpropertySystem_CAPS_static IsEmulated

Indicates whether the role instance is running in the Microsoft Azure compute emulator.

System_CAPS_pubpropertySystem_CAPS_static Roles

Gets the set of Role objects defined for the hosted service.

See Also

RoleEnvironment Class
Microsoft.WindowsAzure.ServiceRuntime Namespace

Return to top