Share via


TimeoutException Constructors

Definition

Overloads

TimeoutException()

Constructs a TimeoutException with no specified detail message.

TimeoutException(String)

Constructs a TimeoutException with the specified detail message.

TimeoutException(IntPtr, JniHandleOwnership)

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

TimeoutException()

Constructs a TimeoutException with no specified detail message.

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

Remarks

Constructs a TimeoutException with no specified detail message.

Java documentation for java.util.concurrent.TimeoutException.TimeoutException().

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

TimeoutException(String)

Constructs a TimeoutException with the specified detail message.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public TimeoutException (string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Util.Concurrent.TimeoutException : string -> Java.Util.Concurrent.TimeoutException

Parameters

message
String

the detail message

Attributes

Remarks

Constructs a TimeoutException with the specified detail message.

Java documentation for java.util.concurrent.TimeoutException.TimeoutException(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

TimeoutException(IntPtr, JniHandleOwnership)

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

protected TimeoutException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Concurrent.TimeoutException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Concurrent.TimeoutException

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