The method initialize the class. The service will call it once at starting when initialize all receivers.

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

Syntax

C#
public virtual void Initialize(
	ReceiverContext ctx
)
Visual Basic (Declaration)
Public Overridable Sub Initialize ( _
	ctx As ReceiverContext _
)
Visual C++
public:
virtual void Initialize(
	ReceiverContext^ ctx
)

Parameters

ctx
Type: LeCouteauSuisse.API..::.ReceiverContext
The context of the receiver, this parameter comes from the service.

Implements

IReceiver..::.Initialize(ReceiverContext)

Remarks

The ctx parameter is saved in the context field. If you override the Initialize(ReceiverContext) method don't forget to call the Initialize of the base class with this line : base.Initialize(ctx);

See Also