共用方式為


UrlRequest.ICallback.OnFailed Method

Definition

[Android.Runtime.Register("onFailed", "(Landroid/net/http/UrlRequest;Landroid/net/http/UrlResponseInfo;Landroid/net/http/HttpException;)V", "GetOnFailed_Landroid_net_http_UrlRequest_Landroid_net_http_UrlResponseInfo_Landroid_net_http_HttpException_Handler:Android.Net.Http.UrlRequest/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)]
public void OnFailed (Android.Net.Http.UrlRequest request, Android.Net.Http.UrlResponseInfo? info, Android.Net.Http.HttpException error);
[<Android.Runtime.Register("onFailed", "(Landroid/net/http/UrlRequest;Landroid/net/http/UrlResponseInfo;Landroid/net/http/HttpException;)V", "GetOnFailed_Landroid_net_http_UrlRequest_Landroid_net_http_UrlResponseInfo_Landroid_net_http_HttpException_Handler:Android.Net.Http.UrlRequest/ICallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=34)>]
abstract member OnFailed : Android.Net.Http.UrlRequest * Android.Net.Http.UrlResponseInfo * Android.Net.Http.HttpException -> unit

Parameters

request
UrlRequest
Attributes

Applies to