PeerContact.Dispose(Boolean) PeerContact.Dispose(Boolean) PeerContact.Dispose(Boolean) PeerContact.Dispose(Boolean) Method

Definition

Releases the unmanaged resources and optionally releases the managed resources used by the PeerApplication object.

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

Parameters

disposing
Boolean Boolean Boolean Boolean

true to release both managed and unmanaged resources; false to release only unmanaged resources.

Remarks

When a PeerContact leaves a collaboration session, certain objects are no longer required. If this contact had been collaborating with any other endpoint(s) not directly registered with the peer host, and the host expects to continue to collaborate with them, the host must register those endpoints within an application or within its ContactManager before disposing of this PeerContact object.

Applies to