Provides information about the configuration, endpoints, and status of running role instances.
다음 표에서는 RoleEnvironment 형식에 의해 노출되는 멤버를 보여 줍니다.
|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.|
|Roles||Gets the set of Role objects defined for the hosted service.|
(Protected 메서드 참조)
|Equals||오버로드되었습니다. (Object에서 상속됨)|
|GetConfigurationSettingValue||Retrieves the value of a setting in the service configuration file.|
|GetLocalResource||Retrieves a specified local storage resource.|
|RequestRecycle||Requests that the current role instance be stopped and restarted.|
|Changed||Occurs after a change to the service configuration is applied to the running instances of a role.|
|Changing||Occurs before a change to the service configuration is applied to the running instances of a role.|
|StatusCheck||Occurs at a regular interval to indicate the status of a role instance.|
|Stopping||Occurs when a role instance is about to be stopped.|
커뮤니티 추가 항목