Windows Dev Center

ParentContainsErrorRecordException Constructor

Initializes a new instance of the ParentContainsErrorRecordException class. The variants of this constructor can create an empty object, an object that contains an exception message, and more.

This constructor should be used when implementing the ErrorRecord property of the IContainsErrorRecord interface.

NameDescription
ParentContainsErrorRecordException ()Initializes a new instance of the ParentContainsErrorRecordException class that is empty.
ParentContainsErrorRecordException (Exception)Initializes a new instance of the ParentContainsErrorRecordException class that contains the associated wrapper exception.
ParentContainsErrorRecordException (SerializationInfo, StreamingContext)Initializes a new instance of the ParentContainsErrorRecordException class that contains information that is read from the provided serialization information.
ParentContainsErrorRecordException (String)Initializes a new instance of the ParentContainsErrorRecordException class that contains an exception message.
ParentContainsErrorRecordException (String, Exception)Initializes a new instance of the ParentContainsErrorRecordException class that contains an exception message and the inner exception that caused this exception to be thrown.


Show:
© 2015 Microsoft