C# Class NServiceBus.Transport.TransportDefinition

Defines a transport.
Show file Open project: Particular/NServiceBus

Public Methods

Method Description
Initialize ( SettingsHolder settings, string connectionString ) : TransportInfrastructure

Initializes all the factories and supported features for the transport. This method is called right before all features are activated and the settings will be locked down. This means you can use the SettingsHolder both for providing default capabilities as well as for initializing the transport's configuration based on those settings (the user cannot provide information anymore at this stage).

Method Details

Initialize() public abstract method

Initializes all the factories and supported features for the transport. This method is called right before all features are activated and the settings will be locked down. This means you can use the SettingsHolder both for providing default capabilities as well as for initializing the transport's configuration based on those settings (the user cannot provide information anymore at this stage).
public abstract Initialize ( SettingsHolder settings, string connectionString ) : TransportInfrastructure
settings SettingsHolder An instance of the current settings.
connectionString string The connection string.
return TransportInfrastructure