Afficher en anglais

Partage via


AbstractSelectableChannel.ConfigureBlocking(Boolean) Method

Definition

Adjusts this channel's blocking mode.

C#
[Android.Runtime.Register("configureBlocking", "(Z)Ljava/nio/channels/SelectableChannel;", "")]
public override sealed Java.Nio.Channels.SelectableChannel? ConfigureBlocking (bool block);

Parameters

block
Boolean

Returns

Attributes

Exceptions

if this channel is closed.

if block is true and this channel has been registered with at least one selector.

if an I/O error occurs.

Remarks

Adjusts this channel's blocking mode.

If the given blocking mode is different from the current blocking mode then this method invokes the #implConfigureBlocking implConfigureBlocking method, while holding the appropriate locks, in order to change the mode.

Java documentation for java.nio.channels.spi.AbstractSelectableChannel.configureBlocking(boolean).

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

Produit Versions
.NET for Android .NET for Android API 34, .NET for Android API 35

See also