The PropertyIsNotVirtualException type exposes the following members.

Constructors

  Name Description
Protected method PropertyIsNotVirtualException
Initializes a new instance of the PropertyIsNotVirtualException class with serialized data.

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetBaseException (Inherited from Exception.)
Public method GetHashCode (Inherited from Object.)
Public method GetObjectData (Inherited from Exception.)
Public method GetType (Inherited from Exception.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Exception.)

Properties

  Name Description
Public property Context
Lambda expression where a type with the non-virtual property is used.
Public property Data (Inherited from Exception.)
Public property HelpLink (Inherited from Exception.)
Protected property HResult (Inherited from Exception.)
Public property InnerException (Inherited from Exception.)
Public property Message
Gets a message that describes the current exception.
(Overrides Exception..::..Message.)
Public property Property
The non-virtual property.
Public property ResultType
The result type of the lambda expression.
Public property Source (Inherited from Exception.)
Public property StackTrace (Inherited from Exception.)
Public property TargetSite (Inherited from Exception.)

Events

  Name Description
Protected event SerializeObjectState (Inherited from Exception.)

See Also