Share via


AsynchronousSocketChannel Constructors

Definition

Overloads

AsynchronousSocketChannel(AsynchronousChannelProvider)

Initializes a new instance of this class.

AsynchronousSocketChannel(IntPtr, JniHandleOwnership)

AsynchronousSocketChannel(AsynchronousChannelProvider)

Initializes a new instance of this class.

[Android.Runtime.Register(".ctor", "(Ljava/nio/channels/spi/AsynchronousChannelProvider;)V", "", ApiSince=26)]
protected AsynchronousSocketChannel (Java.Nio.Channels.Spi.AsynchronousChannelProvider? provider);
[<Android.Runtime.Register(".ctor", "(Ljava/nio/channels/spi/AsynchronousChannelProvider;)V", "", ApiSince=26)>]
new Java.Nio.Channels.AsynchronousSocketChannel : Java.Nio.Channels.Spi.AsynchronousChannelProvider -> Java.Nio.Channels.AsynchronousSocketChannel

Parameters

provider
AsynchronousChannelProvider

The provider that created this channel

Attributes

Remarks

Initializes a new instance of this class.

Java documentation for java.nio.channels.AsynchronousSocketChannel.AsynchronousSocketChannel(java.nio.channels.spi.AsynchronousChannelProvider).

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

AsynchronousSocketChannel(IntPtr, JniHandleOwnership)

protected AsynchronousSocketChannel (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Nio.Channels.AsynchronousSocketChannel : nativeint * Android.Runtime.JniHandleOwnership -> Java.Nio.Channels.AsynchronousSocketChannel

Parameters

javaReference
IntPtr

nativeint

Remarks

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