SQLInvalidAuthorizationSpecException 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
| SQLInvalidAuthorizationSpecException() |
Constructs a <code>SQLInvalidAuthorizationSpecException</code> object. |
| SQLInvalidAuthorizationSpecException(Throwable) |
Constructs a <code>SQLInvalidAuthorizationSpecException</code> object with a given <code>cause</code>. |
| SQLInvalidAuthorizationSpecException(String) |
Constructs a <code>SQLInvalidAuthorizationSpecException</code> object with a given <code>reason</code>. |
| SQLInvalidAuthorizationSpecException(IntPtr, JniHandleOwnership) |
A constructor used when creating managed representations of JNI objects; called by the runtime. |
| SQLInvalidAuthorizationSpecException(String, Throwable) |
Constructs a <code>SQLInvalidAuthorizationSpecException</code> object with a given <code>reason</code> and <code>cause</code>. |
| SQLInvalidAuthorizationSpecException(String, String) |
Constructs a <code>SQLInvalidAuthorizationSpecException</code> object with a given <code>reason</code> and <code>SQLState</code>. |
| SQLInvalidAuthorizationSpecException(String, String, Throwable) |
Constructs a <code>SQLInvalidAuthorizationSpecException</code> object with a given <code>reason</code>, <code>SQLState</code> and <code>cause</code>. |
| SQLInvalidAuthorizationSpecException(String, String, Int32) |
Constructs a <code>SQLInvalidAuthorizationSpecException</code> object with a given <code>reason</code>, <code>SQLState</code> and <code>vendorCode</code>. |
| SQLInvalidAuthorizationSpecException(String, String, Int32, Throwable) |
Constructs a <code>SQLInvalidAuthorizationSpecException</code> object with a given <code>reason</code>, <code>SQLState</code>, <code>vendorCode</code> and <code>cause</code>. |
SQLInvalidAuthorizationSpecException()
Constructs a <code>SQLInvalidAuthorizationSpecException</code> object.
[Android.Runtime.Register(".ctor", "()V", "")]
public SQLInvalidAuthorizationSpecException ();
- 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
SQLInvalidAuthorizationSpecException(Throwable)
Constructs a <code>SQLInvalidAuthorizationSpecException</code> object with a given <code>cause</code>.
[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public SQLInvalidAuthorizationSpecException (Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Java.Sql.SQLInvalidAuthorizationSpecException : Java.Lang.Throwable -> Java.Sql.SQLInvalidAuthorizationSpecException
Parameters
- cause
- Throwable
the underlying reason for this <code>SQLException</code> (which is saved for later retrieval by the <code>getCause()</code> method); may be null indicating the cause is non-existent or unknown.
- 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
SQLInvalidAuthorizationSpecException(String)
Constructs a <code>SQLInvalidAuthorizationSpecException</code> object with a given <code>reason</code>.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public SQLInvalidAuthorizationSpecException (string? reason);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Sql.SQLInvalidAuthorizationSpecException : string -> Java.Sql.SQLInvalidAuthorizationSpecException
Parameters
- reason
- String
a description of the exception
- 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
SQLInvalidAuthorizationSpecException(IntPtr, JniHandleOwnership)
A constructor used when creating managed representations of JNI objects; called by the runtime.
protected SQLInvalidAuthorizationSpecException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Sql.SQLInvalidAuthorizationSpecException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Sql.SQLInvalidAuthorizationSpecException
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
SQLInvalidAuthorizationSpecException(String, Throwable)
Constructs a <code>SQLInvalidAuthorizationSpecException</code> object with a given <code>reason</code> and <code>cause</code>.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public SQLInvalidAuthorizationSpecException (string? reason, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Java.Sql.SQLInvalidAuthorizationSpecException : string * Java.Lang.Throwable -> Java.Sql.SQLInvalidAuthorizationSpecException
Parameters
- reason
- String
a description of the exception.
- cause
- Throwable
the underlying reason for this <code>SQLException</code> (which is saved for later retrieval by the <code>getCause()</code> method); may be null indicating the cause is non-existent or unknown.
- 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
SQLInvalidAuthorizationSpecException(String, String)
Constructs a <code>SQLInvalidAuthorizationSpecException</code> object with a given <code>reason</code> and <code>SQLState</code>.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public SQLInvalidAuthorizationSpecException (string? reason, string? SQLState);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Java.Sql.SQLInvalidAuthorizationSpecException : string * string -> Java.Sql.SQLInvalidAuthorizationSpecException
Parameters
- reason
- String
a description of the exception
- SQLState
- String
an XOPEN or SQL:2003 code identifying the exception
- 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
SQLInvalidAuthorizationSpecException(String, String, Throwable)
Constructs a <code>SQLInvalidAuthorizationSpecException</code> object with a given <code>reason</code>, <code>SQLState</code> and <code>cause</code>.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public SQLInvalidAuthorizationSpecException (string? reason, string? SQLState, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Java.Sql.SQLInvalidAuthorizationSpecException : string * string * Java.Lang.Throwable -> Java.Sql.SQLInvalidAuthorizationSpecException
Parameters
- reason
- String
a description of the exception.
- SQLState
- String
an XOPEN or SQL:2003 code identifying the exception
- cause
- Throwable
the underlying reason for this <code>SQLException</code> (which is saved for later retrieval by the <code>getCause()</code> method); may be null indicating the cause is non-existent or unknown.
- 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
SQLInvalidAuthorizationSpecException(String, String, Int32)
Constructs a <code>SQLInvalidAuthorizationSpecException</code> object with a given <code>reason</code>, <code>SQLState</code> and <code>vendorCode</code>.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;I)V", "")]
public SQLInvalidAuthorizationSpecException (string? reason, string? SQLState, int vendorCode);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;I)V", "")>]
new Java.Sql.SQLInvalidAuthorizationSpecException : string * string * int -> Java.Sql.SQLInvalidAuthorizationSpecException
Parameters
- reason
- String
a description of the exception
- SQLState
- String
an XOPEN or SQL:2003 code identifying the exception
- vendorCode
- Int32
a database vendor specific exception code
- 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
SQLInvalidAuthorizationSpecException(String, String, Int32, Throwable)
Constructs a <code>SQLInvalidAuthorizationSpecException</code> object with a given <code>reason</code>, <code>SQLState</code>, <code>vendorCode</code> and <code>cause</code>.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;ILjava/lang/Throwable;)V", "")]
public SQLInvalidAuthorizationSpecException (string? reason, string? SQLState, int vendorCode, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;ILjava/lang/Throwable;)V", "")>]
new Java.Sql.SQLInvalidAuthorizationSpecException : string * string * int * Java.Lang.Throwable -> Java.Sql.SQLInvalidAuthorizationSpecException
Parameters
- reason
- String
a description of the exception
- SQLState
- String
an XOPEN or SQL:2003 code identifying the exception
- vendorCode
- Int32
a database vendor-specific exception code
- cause
- Throwable
the underlying reason for this <code>SQLException</code> (which is saved for later retrieval by the <code>getCause()</code> method); may be null indicating the cause is non-existent or unknown.
- 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.