Class DanglingAliasException
The exception that is thrown when a variant alias is encountered whose source data file is missing from the repository. This always indicates repository corruption: in normal operation every code path that could remove the source (deletion, retirement, rollback) is coordinated against the aliases pointing at it so this state is unreachable. See the CorruptionDetected event for programmatic discovery of these (and other) corruption conditions across all fetch and add operations.
Inheritance
Implements
Inherited Members
Namespace: FulcrumFS
Assembly: FulcrumFS.dll
Syntax
public class DanglingAliasException : RepoFileNotFoundException, ISerializable
Constructors
| Name | Description |
|---|---|
| DanglingAliasException(FileId, string, string?, string) | Initializes a new instance of the DanglingAliasException class. |
| DanglingAliasException(FileId, string, string?, string, string) | Initializes a new instance of the DanglingAliasException class with a specified message. |
Properties
| Name | Description |
|---|---|
| FileId | Gets the file ID of the file group containing the dangling alias. |
| SourceExtension | Gets the file extension (including the leading dot, or empty) of the alias's expected source data file. |
| SourceVariantId | Gets the variant ID of the alias's expected source, or null if the alias source is the main file. |
| VariantId | Gets the variant ID of the dangling alias. |