public interface RoleEnvironmentChangingListener
The environment changing event is encapsulated in an
void roleEnvironmentChanging(RoleEnvironmentChangingEvent event)
Service configuration changes are applied on-the-fly to running role instances. Configuration changes include changes to the service configuration changes and changes to the number of instances in the service.
This event occurs after the new configuration file has been submitted to Windows Azure but before the changes have been applied to each running role instance. This event can be cancelled for a given instance to prevent the configuration change.
Note that cancelling this event causes the instance to be automatically recycled. When the instance is recycled, the configuration change is applied when it restarts.
RoleEnvironmentChangingEventobject that represents the environment changing event.
Copyright © 2014. All rights reserved.