FileAccessViolationException.FileAccessViolationException

FileAccessViolationException()

Initializes a new instance of the class with default error message.

public FileAccessViolationException()

See Also


FileAccessViolationException(string)

Initializes a new instance of the class with a specified error message.

public FileAccessViolationException(string message)
ParameterTypeDescription
messageStringError message.

See Also


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.

public FileAccessViolationException(string message, Exception innerException)
ParameterTypeDescription
messageStringThe error message that explains the reason for the exception.
innerExceptionExceptionThe exception that is the cause of the current exception. If the innerException parameter is not a NULL reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception.

See Also