共用方式為


DataConnectionSupport.Dispose Method

Definition

Overloads

Dispose()

Performs tasks associated with freeing, releasing, or resetting resources.

Dispose(Boolean)

Performs tasks associated with freeing, releasing, or resetting resources.

Dispose()

Performs tasks associated with freeing, releasing, or resetting resources.

public:
 virtual void Dispose();
public void Dispose ();
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()

Implements

Applies to

Dispose(Boolean)

Performs tasks associated with freeing, releasing, or resetting resources.

protected:
 virtual void Dispose(bool disposing);
protected virtual void Dispose (bool disposing);
abstract member Dispose : bool -> unit
override this.Dispose : bool -> unit
Protected Overridable Sub Dispose (disposing As Boolean)

Parameters

disposing
Boolean

true if this method was called by the public Dispose() method, false if it was called by the class finalizer.

Applies to