Aliases a repository to an existing repository.
The repository specified will be aliased to the repository when created. The repository must not already exist.
When the repository is created it must utilize the same repository type as the repository it is aliased to, otherwise the aliasing will fail.
Exception Type | Condition |
---|---|
ArgumentNullException |
repositoryAlias is a null reference (Nothing in Visual Basic). -or- repositoryTarget is a null reference (Nothing in Visual Basic). |
DefaultRepositorySelector Class | log4net.Core Namespace