共用方式為


Job.Dispose Method

Definition

Overloads

Dispose()

Dispose all managed resources. This will suppress finalizer on the object from getting called by calling System.GC.SuppressFinalize(this).

Dispose(Boolean)

Release all the resources.

Dispose()

Dispose all managed resources. This will suppress finalizer on the object from getting called by calling System.GC.SuppressFinalize(this).

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

Implements

Applies to

Dispose(Boolean)

Release all the resources.

protected:
 virtual void Dispose(bool disposing);
protected:
 virtual void Dispose(bool disposing);
 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

if true, release all the managed objects.

Applies to