Container.Dispose Method

Definition

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Defines a method to release allocated resources.

Overloads

Dispose()

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose(Boolean)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Releases the unmanaged resources used by the Container class and optionally releases the managed resources.

Dispose()

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

C#
public void Dispose ();

Implements

Applies to

System Center SM SDK 2016 and System Center SM SDK 2012
Product Versions
System Center SM SDK 2012, 2016

Dispose(Boolean)

[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Releases the unmanaged resources used by the Container class and optionally releases the managed resources.

C#
protected virtual void Dispose (bool disposing);

Parameters

disposing
Boolean

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Applies to

System Center SM SDK 2016 and System Center SM SDK 2012
Product Versions
System Center SM SDK 2012, 2016