FileAccessViolationException

FileAccessViolationException class

This exception wile be thrown when the file open and locked by another caller.

public class FileAccessViolationException : IOException

Constructors

Name Description
FileAccessViolationException() Initializes a new instance of the class with default error message.
FileAccessViolationException(string) Initializes a new instance of the class with a specified error message.
FileAccessViolationException(string, Exception) Initializes a new instance of the Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.

See Also