Parameters
- fileName
- The file name for storing filter expressions.
Exception | Description |
---|---|
System.InvalidOperationException | The exception that is thrown when a method call is invalid for the object's current state. |
System.ArgumentException | The exception that is thrown when one of the arguments provided to a method is not valid. |
System.NotSupportedException | The exception that is thrown when an invoked method is not supported, or when there is an attempt to read, seek, or write to a stream that does not support the invoked functionality. |
System.ArgumentNullException | The exception that is thrown when a null reference (Nothing in Visual Basic) is passed to a method that does not accept it as a valid argument. |
System.Security.SecurityException | The exception that is thrown when a security error is detected. |
System.IO.FileNotFoundException | The exception that is thrown when an attempt to access a file that does not exist on disk fails. |
System.UnauthorizedAccessException | The exception that is thrown when the operating system denies access because of an I/O error or a specific type of security error. |
System.IO.IOException | The exception that is thrown when an I/O error occurs. |
System.IO.DirectoryNotFoundException | The exception that is thrown when part of a file or directory cannot be found. |
System.IO.PathTooLongException | The exception that is thrown when a path or fully qualified file name is longer than the system-defined maximum length. |
System.ArgumentOutOfRangeException | The exception that is thrown when the value of an argument is outside the allowable range of values as defined by the invoked method. |