IServiceRuntimeWrapper.SubscribeForStoppingNotification Metodo

Definizione

Sottoscrive un gestore anche per l'evento di arresto dell'istanza del ruolo

C#
public void SubscribeForStoppingNotification(object handlerObject, EventHandler<object> handler);

Parametri

handlerObject
Object

Oggetto di cui fa parte il gestore o Null per un metodo statico

handler
EventHandler<Object>

Gestore da sottoscrivere

Si applica a

Prodotto Versioni
.NET Orleans 1.5.10, 3.4.5, 3.6.0, 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0