CallbackException Constructores

Definición

Sobrecargas

Nombre Description
CallbackException(IntPtr, JniHandleOwnership)
CallbackException(String, Throwable)

Construye una excepción que encapsula cause una excepción producida por .UrlRequest.Callback

CallbackException(IntPtr, JniHandleOwnership)

protected CallbackException(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Net.Http.CallbackException : nativeint * Android.Runtime.JniHandleOwnership -> Android.Net.Http.CallbackException

Parámetros

javaReference
IntPtr

nativeint

Se aplica a

CallbackException(String, Throwable)

Construye una excepción que encapsula cause una excepción producida por .UrlRequest.Callback

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=34)]
protected CallbackException(string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=34)>]
new Android.Net.Http.CallbackException : string * Java.Lang.Throwable -> Android.Net.Http.CallbackException

Parámetros

message
String

explicación del error.

cause
Throwable

excepción producida por UrlRequest.Callback ese contenedor. Se guarda para su recuperación posterior mediante .java.io.IOException#getCause getCause()

Atributos

Comentarios

Construye una excepción que encapsula cause una excepción producida por .UrlRequest.Callback

Java documentación para android.net.http.CallbackException.CallbackException(java.lang.String, java.lang.Throwable).

Las partes de esta página son modificaciones basadas en el trabajo creado y compartido por el Android y se usan según los términos descritos en creative Creative Commons 2.5 Attribution License.

Se aplica a