CFMessagePort.Invalidate 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.
Invalidating a message port prevents the port from ever sending or receiving any more messages.
public void Invalidate ();
member this.Invalidate : unit -> unit
Remarks
The message port is not deallocated after invalidation, however IsValid property is set to be true.