SQLTransientConnectionException Costruttori
Definizione
Importante
Alcune informazioni sono relative alla release non definitiva del prodotto, che potrebbe subire modifiche significative prima della release definitiva. Microsoft non riconosce alcuna garanzia, espressa o implicita, in merito alle informazioni qui fornite.
Overload
| SQLTransientConnectionException() |
Costruisce un oggetto |
| SQLTransientConnectionException(Throwable) |
Costruisce un |
| SQLTransientConnectionException(String) |
Costruisce un |
| SQLTransientConnectionException(IntPtr, JniHandleOwnership) |
Costruttore usato durante la creazione di rappresentazioni gestite di oggetti JNI; chiamato dal runtime. |
| SQLTransientConnectionException(String, Throwable) |
Costruisce un |
| SQLTransientConnectionException(String, String) |
Costruisce un |
| SQLTransientConnectionException(String, String, Throwable) |
Costruisce un |
| SQLTransientConnectionException(String, String, Int32) |
Costruisce un |
| SQLTransientConnectionException(String, String, Int32, Throwable) |
Costruisce un |
SQLTransientConnectionException()
Costruisce un oggetto SQLTransientConnectionException.
[Android.Runtime.Register(".ctor", "()V", "")]
public SQLTransientConnectionException ();
- Attributi
Commenti
Costruisce un oggetto SQLTransientConnectionException. L'oggetto reason, SQLState viene inizializzato in null e il codice del fornitore viene inizializzato su 0.
L'oggetto cause non viene inizializzato e può essere successivamente inizializzato da una chiamata al Throwable#initCause(java.lang.Throwable) metodo .
Aggiunta nella versione 1.6.
Documentazione java per java.sql.SQLTransientConnectionException.SQLTransientConnectionException().
Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.
Si applica a
SQLTransientConnectionException(Throwable)
Costruisce un SQLTransientConnectionException oggetto con un oggetto specificato cause.
[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public SQLTransientConnectionException (Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Java.Sql.SQLTransientConnectionException : Java.Lang.Throwable -> Java.Sql.SQLTransientConnectionException
Parametri
- cause
- Throwable
il motivo sottostante di questo SQLException (che viene salvato per il getCause() recupero successivo dal metodo); può essere Null che indica che la causa non è esistente o sconosciuta.
- Attributi
Commenti
Costruisce un SQLTransientConnectionException oggetto con un oggetto specificato cause. Viene SQLState inizializzato in null e il codice fornitore viene inizializzato su 0. L'oggetto reason viene inizializzato su null se cause==null o su cause.toString() se cause!=null.
Aggiunta nella versione 1.6.
Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.
Si applica a
SQLTransientConnectionException(String)
Costruisce un SQLTransientConnectionException oggetto con un oggetto specificato reason.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public SQLTransientConnectionException (string? reason);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Sql.SQLTransientConnectionException : string -> Java.Sql.SQLTransientConnectionException
Parametri
- reason
- String
una descrizione dell'eccezione
- Attributi
Commenti
Costruisce un SQLTransientConnectionException oggetto con un oggetto specificato reason. Viene SQLState inizializzato in null e il codice vender viene inizializzato su 0.
L'oggetto cause non viene inizializzato e può essere successivamente inizializzato da una chiamata al Throwable#initCause(java.lang.Throwable) metodo .
Aggiunta nella versione 1.6.
Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.
Si applica a
SQLTransientConnectionException(IntPtr, JniHandleOwnership)
Costruttore usato durante la creazione di rappresentazioni gestite di oggetti JNI; chiamato dal runtime.
protected SQLTransientConnectionException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Sql.SQLTransientConnectionException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Sql.SQLTransientConnectionException
Parametri
- javaReference
-
IntPtr
nativeint
Oggetto IntPtrcontenente un riferimento all'oggetto JNI (Java Native Interface).
- transfer
- JniHandleOwnership
Oggetto JniHandleOwnershipche indica come gestire javaReference
Commenti
Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.
Si applica a
SQLTransientConnectionException(String, Throwable)
Costruisce un SQLTransientConnectionException oggetto con un oggetto specificato reason e cause.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public SQLTransientConnectionException (string? reason, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Java.Sql.SQLTransientConnectionException : string * Java.Lang.Throwable -> Java.Sql.SQLTransientConnectionException
Parametri
- reason
- String
una descrizione dell'eccezione.
- cause
- Throwable
il motivo sottostante di questo SQLException(che viene salvato per il getCause() recupero successivo dal metodo); può essere Null che indica che la causa non è esistente o sconosciuta.
- Attributi
Commenti
Costruisce un SQLTransientConnectionException oggetto con un oggetto specificato reason e cause. Viene SQLState inizializzato in null e il codice fornitore viene inizializzato su 0.
Aggiunta nella versione 1.6.
Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.
Si applica a
SQLTransientConnectionException(String, String)
Costruisce un SQLTransientConnectionException oggetto con un oggetto specificato reason e SQLState.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public SQLTransientConnectionException (string? reason, string? SQLState);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Java.Sql.SQLTransientConnectionException : string * string -> Java.Sql.SQLTransientConnectionException
Parametri
- reason
- String
una descrizione dell'eccezione
- SQLState
- String
codice XOPEN o SQL:2003 che identifica l'eccezione
- Attributi
Commenti
Costruisce un SQLTransientConnectionException oggetto con un oggetto specificato reason e SQLState.
L'oggetto cause non viene inizializzato e può essere successivamente inizializzato da una chiamata al Throwable#initCause(java.lang.Throwable) metodo . Il codice fornitore viene inizializzato su 0.
Aggiunta nella versione 1.6.
Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.
Si applica a
SQLTransientConnectionException(String, String, Throwable)
Costruisce un SQLTransientConnectionException oggetto con un oggetto specificato SQLState reasone cause.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public SQLTransientConnectionException (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.SQLTransientConnectionException : string * string * Java.Lang.Throwable -> Java.Sql.SQLTransientConnectionException
Parametri
- reason
- String
una descrizione dell'eccezione.
- SQLState
- String
codice XOPEN o SQL:2003 che identifica l'eccezione
- cause
- Throwable
il motivo sottostante di questo SQLException (che viene salvato per il getCause() recupero successivo dal metodo); può essere Null che indica che la causa non è esistente o sconosciuta.
- Attributi
Commenti
Costruisce un SQLTransientConnectionException oggetto con un oggetto specificato SQLState reasone cause. Il codice fornitore viene inizializzato su 0.
Aggiunta nella versione 1.6.
Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.
Si applica a
SQLTransientConnectionException(String, String, Int32)
Costruisce un SQLTransientConnectionException oggetto con un oggetto specificato SQLState reasone vendorCode.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;I)V", "")]
public SQLTransientConnectionException (string? reason, string? SQLState, int vendorCode);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;I)V", "")>]
new Java.Sql.SQLTransientConnectionException : string * string * int -> Java.Sql.SQLTransientConnectionException
Parametri
- reason
- String
una descrizione dell'eccezione
- SQLState
- String
codice XOPEN o SQL:2003 che identifica l'eccezione
- vendorCode
- Int32
Un codice di eccezione specifico del fornitore di database
- Attributi
Commenti
Costruisce un SQLTransientConnectionException oggetto con un oggetto specificato SQLState reasone vendorCode.
L'oggetto cause non viene inizializzato e può essere successivamente inizializzato da una chiamata al Throwable#initCause(java.lang.Throwable) metodo .
Aggiunta nella versione 1.6.
Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.
Si applica a
SQLTransientConnectionException(String, String, Int32, Throwable)
Costruisce un SQLTransientConnectionException oggetto con un oggetto reason, SQLStatevendorCode e causespecificato.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;ILjava/lang/Throwable;)V", "")]
public SQLTransientConnectionException (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.SQLTransientConnectionException : string * string * int * Java.Lang.Throwable -> Java.Sql.SQLTransientConnectionException
Parametri
- reason
- String
una descrizione dell'eccezione
- SQLState
- String
codice XOPEN o SQL:2003 che identifica l'eccezione
- vendorCode
- Int32
un codice di eccezione specifico del fornitore di database
- cause
- Throwable
il motivo sottostante di questo SQLException (che viene salvato per il getCause() recupero successivo dal metodo); può essere Null che indica che la causa non è esistente o sconosciuta.
- Attributi
Commenti
Costruisce un SQLTransientConnectionException oggetto con un oggetto reason, SQLStatevendorCode e causespecificato.
Aggiunta nella versione 1.6.
Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dal progetto Open Source Android e usato in base ai termini descritti nella licenza Creative Commons 2.5 Attribuzione.