Udostępnij za pośrednictwem


EventSource.RemoveHandler(Delegate, String) Method

Definition

Removes an event handler for the specified key.

protected void RemoveHandler (Delegate handler, string key = "");
member this.RemoveHandler : Delegate * string -> unit
Protected Sub RemoveHandler (handler As Delegate, Optional key As String = "")

Parameters

handler
Delegate

The event handler.

key
String

The key.

Applies to