Modifier

Partager via


BaseService.Dispose Method

Definition

Overloads

Dispose()

Cleanup resources used by this object.

Dispose(Boolean)

Cleanup resources used by the object

Dispose()

Cleanup resources used by this object.

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)

Cleanup resources used by the object

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

Are we fully disposing the object? True will release all managed resources, unmanaged resources are always released.

Applies to