XmlPullParserException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| XmlPullParserException(String) | |
| XmlPullParserException(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
| XmlPullParserException(String, XmlReader, Throwable) |
XmlPullParserException(String)
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public XmlPullParserException(string? s);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Org.XmlPull.V1.XmlPullParserException : string -> Org.XmlPull.V1.XmlPullParserException
Parameters
- s
- String
The exception message.
- 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
XmlPullParserException(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected XmlPullParserException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.XmlPull.V1.XmlPullParserException : nativeint * Android.Runtime.JniHandleOwnership -> Org.XmlPull.V1.XmlPullParserException
Parameters
- 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
XmlPullParserException(String, XmlReader, Throwable)
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/Throwable;)V", "")]
public XmlPullParserException(string? msg, System.Xml.XmlReader? parser, Java.Lang.Throwable? chain);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Lorg/xmlpull/v1/XmlPullParser;Ljava/lang/Throwable;)V", "")>]
new Org.XmlPull.V1.XmlPullParserException : string * System.Xml.XmlReader * Java.Lang.Throwable -> Org.XmlPull.V1.XmlPullParserException
Parameters
- msg
- String
The message to include in the exception description, or null for no message prefix.
- parser
- XmlReader
The XML reader whose current position is included in the exception, or null if no position is available. The .NET binding passes the reader through an XML pull-parser adapter.
- 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.