Edit

Share via


IServiceRuntimeWrapper.UnsubscribeFromStoppingNotification Method

Definition

Unsubscribes given even handler from role instance Stopping event

public void UnsubscribeFromStoppingNotification (object handlerObject, EventHandler<object> handler);
abstract member UnsubscribeFromStoppingNotification : obj * EventHandler<obj> -> unit
Public Sub UnsubscribeFromStoppingNotification (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 unsubscribe

Applies to