Initialize an event.

Namespace:  LeCouteauSuisse.API
Assembly:  LeCouteauSuisseAPI (in LeCouteauSuisseAPI.dll) Version: 1.0.0.2 (1.0.0.2)

Syntax

C#
public GeneratorEvent(
	string sn,
	string gn,
	EventPriority p
)
Visual Basic (Declaration)
Public Sub New ( _
	sn As String, _
	gn As String, _
	p As EventPriority _
)
Visual C++
public:
GeneratorEvent(
	String^ sn, 
	String^ gn, 
	EventPriority p
)

Parameters

sn
Type: System..::.String
The service name.
gn
Type: System..::.String
The generator name.
p
Type: LeCouteauSuisse.API..::.EventPriority
The priority of the event.

Remarks

To create a new class event use one of the GetNewGeneratorEvent() methods.

See Also