IServiceRuntimeWrapper.UnsubscribeFromStoppingNotification 方法

定义

取消订阅角色实例“停止”事件的偶数处理程序

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))

参数

handlerObject
Object

处理程序是静态方法的一部分或 null 的对象

handler
EventHandler<Object>

取消订阅的处理程序

适用于