Udostępnij za pośrednictwem


EventSource.HasHandler(String) Method

Definition

Indicates whether the event identified by the given key has at least one handler

bool HasHandler(std::wstring const & key = "");
protected bool HasHandler (string key = "");
member this.HasHandler : string -> bool
Protected Function HasHandler (Optional key As String = "") As Boolean

Parameters

key
String

The key.

Returns

true if the event has at least one handler, otherwise false.

Applies to