PeerApplication.Dispose 方法

定義

釋放由 PeerApplication 物件使用的資源。

多載

Dispose()

釋放由 PeerApplication 物件使用的資源。

Dispose(Boolean)

釋放 PeerApplication 物件所使用的 Unmanaged 資源,並選擇性釋放 Managed 資源。

Dispose()

釋放由 PeerApplication 物件使用的資源。

public:
 virtual void Dispose();
[System.Security.SecurityCritical]
public void Dispose ();
[<System.Security.SecurityCritical>]
abstract member Dispose : unit -> unit
override this.Dispose : unit -> unit
Public Sub Dispose ()

實作

屬性

另請參閱

適用於

Dispose(Boolean)

釋放 PeerApplication 物件所使用的 Unmanaged 資源,並選擇性釋放 Managed 資源。

protected:
 virtual void Dispose(bool disposing);
[System.Security.SecurityCritical]
protected virtual void Dispose (bool disposing);
[<System.Security.SecurityCritical>]
abstract member Dispose : bool -> unit
override this.Dispose : bool -> unit
Protected Overridable Sub Dispose (disposing As Boolean)

參數

disposing
Boolean

設定為 true 表示釋放 Managed 和 Unmanaged 資源,設定為 false 表示只釋放 Unmanaged 資源。

屬性

另請參閱

適用於