SymMethod.Dispose Method

Definition

Releases the resources used by the current instance of the SymMethod class.

Overloads

Dispose()

Releases the resources used by the current instance of the SymMethod class.

Dispose(Boolean)

Called by the Dispose() and Finalize() methods to release the managed and unmanaged resources used by the current instance of the SymMethod class.

Dispose()

Releases the resources used by the current instance of the SymMethod class.

C#
public override sealed void Dispose();

Implements

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

Dispose(Boolean)

Called by the Dispose() and Finalize() methods to release the managed and unmanaged resources used by the current instance of the SymMethod class.

C#
[System.Runtime.ExceptionServices.HandleProcessCorruptedStateExceptions]
protected virtual void Dispose(bool A_0);

Parameters

A_0
Boolean

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

Attributes

Remarks

This method is called only by the public Dispose and Finalize methods; do not call this method directly.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1