Partager via


PortUnreachableException Constructors

Definition

Overloads

PortUnreachableException()

Construct a new PortUnreachableException with no detailed message.

PortUnreachableException(String)

Constructs a new PortUnreachableException with a detail message.

PortUnreachableException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

PortUnreachableException()

Construct a new PortUnreachableException with no detailed message.

[Android.Runtime.Register(".ctor", "()V", "")]
public PortUnreachableException ();
Attributes

Remarks

Construct a new PortUnreachableException with no detailed message.

Java documentation for java.net.PortUnreachableException.PortUnreachableException().

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

PortUnreachableException(String)

Constructs a new PortUnreachableException with a detail message.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public PortUnreachableException (string? msg);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Net.PortUnreachableException : string -> Java.Net.PortUnreachableException

Parameters

msg
String

the detail message

Attributes

Remarks

Constructs a new PortUnreachableException with a detail message.

Java documentation for java.net.PortUnreachableException.PortUnreachableException(java.lang.String).

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

PortUnreachableException(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected PortUnreachableException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Net.PortUnreachableException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Net.PortUnreachableException

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

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