PSObjectDisposedException PSObjectDisposedException 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
type PSObjectDisposedException = class
    inherit ObjectDisposedException
    interface IContainsErrorRecord
Public Class PSObjectDisposedException
Inherits ObjectDisposedException
Implements IContainsErrorRecord
Inheritance
PSObjectDisposedExceptionPSObjectDisposedExceptionPSObjectDisposedException
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) PSObjectDisposedException(String) PSObjectDisposedException(String)

Initializes a new instance of the PSObjectDisposedException class.

PSObjectDisposedException(SerializationInfo, StreamingContext) PSObjectDisposedException(SerializationInfo, StreamingContext) PSObjectDisposedException(SerializationInfo, StreamingContext)

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

PSObjectDisposedException(String, Exception) PSObjectDisposedException(String, Exception) PSObjectDisposedException(String, Exception)

Initializes a new instance of the PSObjectDisposedException class.

PSObjectDisposedException(String, String) PSObjectDisposedException(String, String) PSObjectDisposedException(String, String)

Initializes a new instance of the PSObjectDisposedException class.

Properties

ErrorRecord ErrorRecord ErrorRecord

Additional information about the error

Methods

GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

Serializer for ISerializable

Applies to