IServiceRuntimeWrapper Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Interface exposed by ServiceRuntimeWrapper for functionality provided by Microsoft.WindowsAzure.ServiceRuntime.
public interface IServiceRuntimeWrapper
type IServiceRuntimeWrapper = interface
Public Interface IServiceRuntimeWrapper
Properties
DeploymentId |
Deployment ID of the hosted service |
FaultDomain |
Fault domain of the role instance |
InstanceName |
Name of the role instance |
RoleInstanceCount |
Number of instances in the worker/web role |
RoleName |
Name of the worker/web role |
UpdateDomain |
Update domain of the role instance |
Methods
GetConfigurationSettingValue(String) |
Returns value of the given configuration setting |
GetIPEndpoint(String) |
Returns IP endpoint by name |
SubscribeForStoppingNotification(Object, EventHandler<Object>) |
Subscribes given even handler for role instance Stopping event |
UnsubscribeFromStoppingNotification(Object, EventHandler<Object>) |
Unsubscribes given even handler from role instance Stopping event |