TriggerBuilderWithIdentity Method (String, String)

Quartz.NET 3.0 API Documentation
Use a TriggerKey with the given name and group to identify the Trigger.

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

C#
public TriggerBuilder WithIdentity(
	string name,
	string group
)

Parameters

name
Type: SystemString
the name element for the Trigger's TriggerKey
group
Type: SystemString
the group element for the Trigger's TriggerKey

Return Value

Type: TriggerBuilder
the updated TriggerBuilder
Remarks

If none of the 'withIdentity' methods are set on the TriggerBuilder, then a random, unique TriggerKey will be generated.

See Also

Reference