Share via


AbstractSelector.CancelledKeys Method

Definition

Retrieves this selector's cancelled-key set.

[Android.Runtime.Register("cancelledKeys", "()Ljava/util/Set;", "")]
protected System.Collections.Generic.ICollection<Java.Nio.Channels.SelectionKey>? CancelledKeys ();
[<Android.Runtime.Register("cancelledKeys", "()Ljava/util/Set;", "")>]
member this.CancelledKeys : unit -> System.Collections.Generic.ICollection<Java.Nio.Channels.SelectionKey>

Returns

The cancelled-key set

Attributes

Remarks

Retrieves this selector's cancelled-key set.

This set should only be used while synchronized upon it.

Java documentation for java.nio.channels.spi.AbstractSelector.cancelledKeys().

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