PSObjectDisposedException Class

Definition

This is a wrapper for exception class ObjectDisposedException which provides additional information via IContainsErrorRecord.

public class PSObjectDisposedException : ObjectDisposedException, System.Management.Automation.IContainsErrorRecord
Inheritance
PSObjectDisposedException
Implements

Remarks

Instances of this exception class are usually generated by the Monad Engine. It is unusual for code outside the Monad Engine to create an instance of this class.

Constructors

PSObjectDisposedException(String)

Initializes a new instance of the PSObjectDisposedException class.

PSObjectDisposedException(SerializationInfo, StreamingContext)

Initializes a new instance of the PSObjectDisposedException class using data serialized via ISerializable

PSObjectDisposedException(String, Exception)

Initializes a new instance of the PSObjectDisposedException class.

PSObjectDisposedException(String, String)

Initializes a new instance of the PSObjectDisposedException class.

Properties

ErrorRecord

Additional information about the error

Methods

GetObjectData(SerializationInfo, StreamingContext)

Serializer for ISerializable