Partager via


LSException Constructors

Definition

Overloads

LSException(Int16, String)
LSException(IntPtr, JniHandleOwnership)

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

LSException(Int16, String)

[Android.Runtime.Register(".ctor", "(SLjava/lang/String;)V", "")]
public LSException (short code, string? message);
[<Android.Runtime.Register(".ctor", "(SLjava/lang/String;)V", "")>]
new Org.W3c.Dom.LS.LSException : int16 * string -> Org.W3c.Dom.LS.LSException

Parameters

code
Int16
message
String
Attributes

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

LSException(IntPtr, JniHandleOwnership)

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

protected LSException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.W3c.Dom.LS.LSException : nativeint * Android.Runtime.JniHandleOwnership -> Org.W3c.Dom.LS.LSException

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