C# Класс NServiceBus.InstanceMappingFileSettings

Allows configuring file-based instance mappings.
Наследование: ExposeSettings
Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

FilePath() публичный Метод

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.
Результат InstanceMappingFileSettings

InstanceMappingFileSettings() публичный Метод

Creates new instance of InstanceMappingFileSettings.
public InstanceMappingFileSettings ( SettingsHolder settings ) : System
settings SettingsHolder
Результат System

RefreshInterval() публичный Метод

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.
Результат InstanceMappingFileSettings