IListenerManagerSetJobListenerMatchers Method

Quartz.NET 3.0 API Documentation
Set the set of Matchers for which the listener will receive events if ANY of the matchers match.

Namespace:  Quartz
Assembly:  Quartz (in Quartz.dll) Version: 3.0.0
Syntax

C#
bool SetJobListenerMatchers(
	string listenerName,
	IReadOnlyCollection<IMatcher<JobKey>> matchers
)

Parameters

listenerName
Type: SystemString
the name of the listener to add the matcher to
matchers
Type: System.Collections.GenericIReadOnlyCollectionIMatcherJobKey
the matchers to apply for selecting events

Return Value

Type: Boolean
true if the given matcher was found and removed from the listener's list of matchers
Remarks

Removes any existing matchers for the identified listener!

See Also

Reference