[This is preliminary documentation and subject to change.]
Creates an alias in the file system.
There are no limitations on where an alias may point. The target path is not checked for validity at mount time. Most importantly, there are no built in mechanisms to prevent cycles caused by aliases. Some care should be taken in how aliases are created and where they are mapped to, otherwise calls into the filesystem may recurse infinitely, resulting in a stack overflow.
Exception Type | Condition |
---|---|
InvalidOperationException | Thrown if AllowAliases is set to false. |
ArgumentNullException | Thrown if aliasPath or targetPath is null. |
VirtualFS Class | SharpFS Namespace