AbstractSelectionKey.Cancel Method

Definition

Cancels this key.

[Android.Runtime.Register("cancel", "()V", "")]
public override sealed void Cancel ();
[<Android.Runtime.Register("cancel", "()V", "")>]
override this.Cancel : unit -> unit
Attributes

Remarks

Cancels this key.

If this key has not yet been cancelled then it is added to its selector's cancelled-key set while synchronized on that set.

Java documentation for java.nio.channels.spi.AbstractSelectionKey.cancel().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to