C# Class NServiceBus.Features.FeatureStartupTask

Base for feature startup tasks.
Show file Open project: Particular/NServiceBus Class Usage Examples

Protected Methods

Method Description
OnStart ( IMessageSession session ) : Task

Will be called after an endpoint has been started but before processing any messages, if the feature has been activated.

OnStop ( IMessageSession session ) : Task

Will be called after an endpoint has been started but before processing any messages, if the feature has been activated.

Private Methods

Method Description
PerformStartup ( IMessageSession session ) : Task
PerformStop ( IMessageSession session ) : Task

Method Details

OnStart() protected abstract method

Will be called after an endpoint has been started but before processing any messages, if the feature has been activated.
protected abstract OnStart ( IMessageSession session ) : Task
session IMessageSession Bus session.
return Task

OnStop() protected abstract method

Will be called after an endpoint has been started but before processing any messages, if the feature has been activated.
protected abstract OnStop ( IMessageSession session ) : Task
session IMessageSession Bus session.
return Task