IServiceRuntimeWrapper 接口

定义

ServiceRuntimeWrapper 公开的接口,用于 Microsoft.WindowsAzure.ServiceRuntime 提供的功能。

public interface IServiceRuntimeWrapper
type IServiceRuntimeWrapper = interface
Public Interface IServiceRuntimeWrapper

属性

DeploymentId

托管服务的部署 ID

FaultDomain

角色实例的容错域

InstanceName

角色实例的名称

RoleInstanceCount

辅助角色/Web 角色中的实例数

RoleName

辅助角色/Web 角色的名称

UpdateDomain

更新角色实例的域

方法

GetConfigurationSettingValue(String)

返回给定配置设置的值

GetIPEndpoint(String)

按名称返回 IP 终结点

SubscribeForStoppingNotification(Object, EventHandler<Object>)

订阅为角色实例停止事件提供偶数处理程序

UnsubscribeFromStoppingNotification(Object, EventHandler<Object>)

取消订阅角色实例“停止”事件的偶数处理程序

适用于