Fragment.InstantiationException Constructors

Definition

Overloads

Name Description
Fragment.InstantiationException(IntPtr, JniHandleOwnership)

Initializes a managed representation of an existing Java Native Interface object.

Fragment.InstantiationException(String, Exception)

Content and code samples on this page are subject to the licenses described in the Content License.

Fragment.InstantiationException(IntPtr, JniHandleOwnership)

Initializes a managed representation of an existing Java Native Interface object.

protected InstantiationException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.Fragment.InstantiationException : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.Fragment.InstantiationException

Parameters

javaReference
IntPtr

nativeint

The Java Native Interface object reference.

transfer
JniHandleOwnership

The ownership transfer to apply to the Java Native Interface object reference.

Remarks

This constructor is called by the .NET for Android binding runtime when it creates a managed peer for an existing Java object.

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

Fragment.InstantiationException(String, Exception)

Content and code samples on this page are subject to the licenses described in the Content License.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Exception;)V", "")]
public InstantiationException(string? msg, Java.Lang.Exception? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Exception;)V", "")>]
new Android.App.Fragment.InstantiationException : string * Java.Lang.Exception -> Android.App.Fragment.InstantiationException

Parameters

msg
String

String

cause
Exception

Exception

Attributes

Remarks

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2026-08-03 UTC.

Android reference for android.app.Fragment.InstantiationException.InstantiationException.

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