PeerContact.Dispose(Boolean) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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);
[<System.Security.SecurityCritical>]
override this.Dispose : bool -> unit
Protected Overrides Sub Dispose (disposing As Boolean)
Parameters
- disposing
- Boolean
true
to release both managed and unmanaged resources; false
to release only unmanaged resources.
- Attributes
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.