FileAccessViolationException

FileAccessViolationException constructor (1 of 3)

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

public FileAccessViolationException()

See Also


FileAccessViolationException constructor (2 of 3)

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

public FileAccessViolationException(string message)
Parameter Type Description
message String Error message.

See Also


FileAccessViolationException constructor (3 of 3)

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)
Parameter Type Description
message String The error message that explains the reason for the exception.
innerException Exception The 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