C Sharp Reference/System namespace/AccessViolationException class/AccessViolationException constructor
Appearance
Initializes a new instance of the AccessViolationException class with serialized data.
Overloads
[edit | edit source]This constructor has 4 overloads.
Overload 1
[edit | edit source]public AccessViolationException()
Overload 2
[edit | edit source]public AccessViolationException(string message)
Overload 3
[edit | edit source]public AccessViolationException(string message, Exception innerException)
Overload 4
[edit | edit source]protected AccessViolationException(Runtime.Serialization.SerializationInfo info, Runtime.Serialization.StreamingContext context)