AccessViolationException Constructor

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the AccessViolationException class.

Namespace:   System
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodAccessViolationException()

Initializes a new instance of the AccessViolationException class with a system-supplied message that describes the error.

System_CAPS_protmethodAccessViolationException(SerializationInfo, StreamingContext)

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

System_CAPS_pubmethodAccessViolationException(String)

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

System_CAPS_pubmethodAccessViolationException(String, Exception)

Initializes a new instance of the AccessViolationException class with a specified error message and a reference to the inner exception that is the cause of this exception.

Return to top
Show: