Windows Dev Center

Collapse the table of content
Expand the table of content
Expand Minimize
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Runspace.Dispose Method

Releases the resources used by the Runspace object. These methods implement the Dispose pattern used to release managed and unmanaged resources.

For an explanation of the Dispose pattern, see Implementing a Dispose Method.

NameDescription
Runspace.Dispose ()Releases the resources used by the Runspace object.
Runspace.Dispose (Boolean)Disposes this instance of the runspace, and defines a Boolean value that specifies whether the call is made by the cmdlet or by the runtime.


Show:
© 2015 Microsoft