IServiceRuntimeWrapper.UnsubscribeFromStoppingNotification 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.
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