IServiceRuntimeWrapper.SubscribeForStoppingNotification Method
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.
Subscribes given even handler for role instance Stopping event
public void SubscribeForStoppingNotification (object handlerObject, EventHandler<object> handler);
abstract member SubscribeForStoppingNotification : obj * EventHandler<obj> -> unit
Public Sub SubscribeForStoppingNotification (handlerObject As Object, handler As EventHandler(Of Object))
Parameters
- handlerObject
- Object
Object that handler is part of, or null for a static method
- handler
- EventHandler<Object>
Handler to subscribe