C# Class NServiceBus.InstanceMappingFileSettings

Allows configuring file-based instance mappings.
Inheritance: ExposeSettings
Afficher le fichier Open project: Particular/NServiceBus

Méthodes publiques

Méthode Description
FilePath ( string filePath ) : InstanceMappingFileSettings

Specifies the path and file name for the instance mapping XML. The default is instance-mapping.xml.

InstanceMappingFileSettings ( SettingsHolder settings ) : System

Creates new instance of InstanceMappingFileSettings.

RefreshInterval ( System.TimeSpan refreshInterval ) : InstanceMappingFileSettings

Specifies the interval between data refresh attempts. The default value is 30 seconds.

Method Details

FilePath() public méthode

Specifies the path and file name for the instance mapping XML. The default is instance-mapping.xml.
public FilePath ( string filePath ) : InstanceMappingFileSettings
filePath string The relative or absolute file path to the instance mapping XML file.
Résultat InstanceMappingFileSettings

InstanceMappingFileSettings() public méthode

Creates new instance of InstanceMappingFileSettings.
public InstanceMappingFileSettings ( SettingsHolder settings ) : System
settings SettingsHolder
Résultat System

RefreshInterval() public méthode

Specifies the interval between data refresh attempts. The default value is 30 seconds.
public RefreshInterval ( System.TimeSpan refreshInterval ) : InstanceMappingFileSettings
refreshInterval System.TimeSpan Refresh interval. Valid values must be between 1 second and less than 1 day.
Résultat InstanceMappingFileSettings