C# 클래스 NServiceBus.InstanceMappingFileSettings

Allows configuring file-based instance mappings.
상속: ExposeSettings
파일 보기 프로젝트 열기: Particular/NServiceBus

공개 메소드들

메소드 설명
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