CFMessagePort.Check Method

Definition

Method that developers can call from their own subclasses to ensure that the port has not been disposed.

protected void Check ();
member this.Check : unit -> unit

Remarks

This method raises an ObjectDisposedException if the Handle has been set to IntPtr.Zero (indicating that the object has been disposed).

Applies to