Class FileStreamUriParser
Implements
Inherited Members
Namespace: TheXDS.MCART.IO
Assembly: MCART.dll
Syntax
public class FileStreamUriParser : SimpleStreamUriParser, IStreamUriParser
Properties
| Edit this page View SourceSchemeList
Enumerates the schemes supported by this StreamUriParser.
Declaration
protected override IEnumerable<string> SchemeList { get; }
Property Value
| Type | Description |
|---|---|
| IEnumerable<string> |
Overrides
Methods
| Edit this page View SourceOpen(Uri)
Declaration
public override Stream? Open(Uri uri)
Parameters
| Type | Name | Description |
|---|---|---|
| Uri | uri | The Uri to open for reading. |
Returns
| Type | Description |
|---|---|
| Stream | A Stream from which the resource pointed to by the specified Uri can be read. |
Overrides
Exceptions
| Type | Condition |
|---|---|
| FileNotFoundException | Thrown if the resource pointed to by |
| SecurityException | Thrown if sufficient permissions are not available to perform this operation. |
| IOException | Thrown if there is an input/output issue when opening the
resource pointed to by |
| DirectoryNotFoundException | Thrown if the directory specified in the path of
|
| PathTooLongException | Thrown if the file path length exceeds the system's allowed limits. |