Edit

Share via


IServiceRuntimeWrapper.SubscribeForStoppingNotification Method

Definition

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

Applies to