Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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:
© 2015 Microsoft