HttpException 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
| Nome | Descrizione |
|---|---|
| HttpException(IntPtr, JniHandleOwnership) | |
| HttpException(String, Throwable) |
Costruisce un'eccezione causata da |
HttpException(IntPtr, JniHandleOwnership)
protected HttpException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Net.Http.HttpException : nativeint * Android.Runtime.JniHandleOwnership -> Android.Net.Http.HttpException
Parametri
- javaReference
-
IntPtr
nativeint
- transfer
- JniHandleOwnership
Si applica a
HttpException(String, Throwable)
Costruisce un'eccezione causata da cause.
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=34)]
public HttpException(string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=34)>]
new Android.Net.Http.HttpException : string * Java.Lang.Throwable -> Android.Net.Http.HttpException
Parametri
- message
- String
spiegazione dell'errore.
- cause
- Throwable
la causa ,che viene salvata per il recupero successivo dal java.io.IOException#getCause getCause() metodo . È consentito un valore Null e indica che la causa è inesistente o sconosciuta.
- Attributi
Commenti
Costruisce un'eccezione causata da cause.
per android.net.http.HttpException.HttpException(java.lang.String, java.lang.Throwable).
Le parti di questa pagina sono modifiche basate sul lavoro creato e condiviso dalla e usati in base ai termini descritti in Creative License 2.5 Attribution License.