NServiceBus.InstanceMappingFileSettings.FilePath C# (CSharp) Method

FilePath() public method

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.
return InstanceMappingFileSettings
        public InstanceMappingFileSettings FilePath(string filePath)
        {
            Guard.AgainstNullAndEmpty(nameof(filePath), filePath);

            Settings.Set(InstanceMappingFileFeature.FilePathSettingsKey, filePath);
            return this;
        }
    }