PSObjectDisposedException Constructor

Creates a new PSObjectDisposedException object. The variants of this constructor can create an object that contains the object that is being disposed, an object that contains an exception message, and more.

NameDescription
PSObjectDisposedException (SerializationInfo, StreamingContext)Creates a new PSObjectDisposedException object that contains information that is read from the provided serialization information.
PSObjectDisposedException (String)Creates a new PSObjectDisposedException object that contains the object that is being disposed.
PSObjectDisposedException (String, Exception)Creates a new PSObjectDisposedException object that contains an exception message and the inner exception that caused this exception to be thrown.
PSObjectDisposedException (String, String)Creates a new PSObjectDisposedException object that contains the object that is being disposed and an exception message.


Show:
© 2014 Microsoft