RemoteServiceBroker.Dispose Method

Definition

Overloads

Dispose()
Obsolete.
Dispose(Boolean)
Obsolete.

Disposes of managed and/or unmanaged resources.

Dispose()

Caution

Use DisposeAsync instead.

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

public:
 virtual void Dispose();
[System.Obsolete("Use DisposeAsync instead.")]
public void Dispose ();
[<System.Obsolete("Use DisposeAsync instead.")>]
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()

Implements

Attributes

Applies to

Dispose(Boolean)

Caution

Override DisposeAsync instead.

Disposes of managed and/or unmanaged resources.

protected:
 virtual void Dispose(bool disposing);
[System.Obsolete("Override DisposeAsync instead.")]
protected virtual void Dispose (bool disposing);
[<System.Obsolete("Override DisposeAsync instead.")>]
abstract member Dispose : bool -> unit
override this.Dispose : bool -> unit
Protected Overridable Sub Dispose (disposing As Boolean)

Parameters

disposing
Boolean

true to dispose of managed resources as well as unmanaged resources; false to release only unmanaged resources.

Attributes

Applies to