C Sharp Reference/System namespace/AccessViolationException class/AccessViolationException constructor

From Wikibooks, open books for an open world
Jump to navigation Jump to search

Initializes a new instance of the AccessViolationException class with serialized data.

Overloads[edit]

This constructor has 4 overloads.

Overload 1[edit]

public AccessViolationException()

Overload 2[edit]

public AccessViolationException(string message)

Overload 3[edit]

public AccessViolationException(string message, Exception innerException)

Overload 4[edit]

protected AccessViolationException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context)