This documentation is archived and is not being maintained.

FieldAccessException Constructor

.NET Framework 1.1

Initializes a new instance of the FieldAccessException class.

Overload List

Initializes a new instance of the FieldAccessException class.

[Visual Basic] Public Sub New()
[C#] public FieldAccessException();
[C++] public: FieldAccessException();
[JScript] public function FieldAccessException();

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

[Visual Basic] Public Sub New(String)
[C#] public FieldAccessException(string);
[C++] public: FieldAccessException(String*);
[JScript] public function FieldAccessException(String);

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

[Visual Basic] Protected Sub New(SerializationInfo, StreamingContext)
[C#] protected FieldAccessException(SerializationInfo, StreamingContext);
[C++] protected: FieldAccessException(SerializationInfo*, StreamingContext);
[JScript] protected function FieldAccessException(SerializationInfo, StreamingContext);

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

[Visual Basic] Public Sub New(String, Exception)
[C#] public FieldAccessException(string, Exception);
[C++] public: FieldAccessException(String*, Exception*);
[JScript] public function FieldAccessException(String, Exception);

See Also

FieldAccessException Class | FieldAccessException Members | System Namespace

Show: