TypeAccessException Constructor (SerializationInfo, StreamingContext)

.NET Framework (current version)

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

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

Protected Sub New (
	info As SerializationInfo,
	context As StreamingContext


Type: System.Runtime.Serialization.SerializationInfo

The object that holds the serialized data.

Type: System.Runtime.Serialization.StreamingContext

The contextual information about the source or destination.

This constructor is called during deserialization to reconstitute the exception object that was transmitted over a stream. For more information, see XML and SOAP Serialization.

.NET Framework
Available since 4.0
Return to top