Determines whether the verifier will check for the serialization support.

Namespace:  MbUnit.Framework.ContractVerifiers
Assembly:  MbUnit (in MbUnit.dll) Version: 3.3.0.0 (3.3.610.0)

Syntax

C#
public bool ImplementsSerialization { get; set; }
Visual Basic (Declaration)
Public Property ImplementsSerialization As Boolean

Remarks

The default value is true.

Built-in verifications:

  • The exception implements the ISerializable interface.
  • The exception has the SerializableAttribute attribute.
  • The exception type has a protected serialization constructor similar to Exception(SerializationInfo, StreamingContext).

See Also