Поделиться через


Autoscaler.Stop Method

Retired Content

This content and the technology described is outdated and is no longer being maintained. For more information about Transient Fault Handling, see Transient Fault Handling.

Stop this Autoscaler instance.

Namespace: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling
Assembly: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling (in Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling.dll) Version: 5.0.1118.0 (5.0.1118.0)

Syntax

public void Stop()
'Declaration
Public Sub Stop
public:
void Stop()

Remarks

It is important to call this Stop method when the worker stops if an execution lease was used. This ensures that the block releases its lease before the role stops.

See Also

Autoscaler Class

Microsoft.Practices.EnterpriseLibrary.WindowsAzure.Autoscaling Namespace