Assembly: Microsoft.WindowsAzure.ServiceRuntime (in Microsoft.WindowsAzure.ServiceRuntime.dll)
Gets a RoleInstance object that represents the role instance in which the code is currently running.
Gets the unique identifier of the deployment in which the role instance is running.
Indicates whether the role instance is running in the Windows Azure environment.
Indicates whether the role instance is running in the Microsoft Azure compute emulator.
Gets the set of Role objects defined for the hosted service.