EventSource.HasHandler(String) 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.
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
.