PropertyIsNotVirtualException Constructor
In This Topic
Initializes a new instance of the
PropertyIsNotVirtualException class with serialized data.
Syntax
'Declaration
Protected Function New( _
ByVal As SerializationInfo, _
ByVal As StreamingContext _
)
protected PropertyIsNotVirtualException(
SerializationInfo ,
StreamingContext
)
Parameters
- info
- The System.Runtime.Serialization.SerializationInfo that holds the serialized object data about the exception being thrown.
- context
- The System.Runtime.Serialization.StreamingContext that contains contextual information about the source or destination.
See Also