Initialize the context of the service.

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

Syntax

C#
public ServiceContext(
	string n,
	int tos,
	bool eqos,
	int df,
	bool uc
)
Visual Basic (Declaration)
Public Sub New ( _
	n As String, _
	tos As Integer, _
	eqos As Boolean, _
	df As Integer, _
	uc As Boolean _
)
Visual C++
public:
ServiceContext(
	String^ n, 
	int tos, 
	bool eqos, 
	int df, 
	bool uc
)

Parameters

n
Type: System..::.String
Name of the service.
tos
Type: System..::.Int32
Timeout when stopping the service.
eqos
Type: System..::.Boolean
Flush the queue when stopping the service.
df
Type: System..::.Int32
Frequency for dispatching event in queues.
uc
Type: System..::.Boolean
Indicate if running under service manager or under console mode.

See Also