PatternSyntaxException 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
PatternSyntaxException(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
PatternSyntaxException(String, String, Int32) |
Constructs a new instance of this class. |
PatternSyntaxException(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected PatternSyntaxException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Regex.PatternSyntaxException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Regex.PatternSyntaxException
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
PatternSyntaxException(String, String, Int32)
Constructs a new instance of this class.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;I)V", "")]
public PatternSyntaxException (string? desc, string? regex, int index);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;I)V", "")>]
new Java.Util.Regex.PatternSyntaxException : string * string * int -> Java.Util.Regex.PatternSyntaxException
Parameters
- desc
- String
A description of the error
- regex
- String
The erroneous pattern
- index
- Int32
The approximate index in the pattern of the error,
or -1
if the index is not known
- Attributes
Remarks
Constructs a new instance of this class.
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.