Linguaggio

HttpException Costruttori

Definizione

Overload

Nome Descrizione
HttpException(IntPtr, JniHandleOwnership)
HttpException(String, Throwable)

Costruisce un'eccezione causata da cause.

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

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.

Si applica a