Updated: October 18, 2011
Represents the arguments for the Stopping event, which occurs when a role instance is being stopped.
Assembly: Microsoft.WindowsAzure.ServiceRuntime (in Microsoft.WindowsAzure.ServiceRuntime.dll)
Initializes a new instance of theclass.
You typically handle the Stopping event in the OnStart method for the role.
The following code example shows how to run code when the role instance is being stopped:
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.