RoleEnvironment::RequestRecycle Method ()
Requests that the current role instance be stopped and restarted.
Assembly: Microsoft.WindowsAzure.ServiceRuntime (in Microsoft.WindowsAzure.ServiceRuntime.dll)
The role instance could not be stopped and restarted.
Return to top
When themethod is called, the load balancer takes the role instance out of the rotation and the normal shutdown cycle is initiated. New requests are not routed to the role instance while it is restarting.