Sprache

HttpService.HandleException(HttpException, IHttpResponse) Methode

Definition

[Android.Runtime.Register("handleException", "(Lorg/apache/http/HttpException;Lorg/apache/http/HttpResponse;)V", "GetHandleException_Lorg_apache_http_HttpException_Lorg_apache_http_HttpResponse_Handler")]
protected virtual void HandleException(Org.Apache.Http.HttpException? ex, Org.Apache.Http.IHttpResponse? response);
[<Android.Runtime.Register("handleException", "(Lorg/apache/http/HttpException;Lorg/apache/http/HttpResponse;)V", "GetHandleException_Lorg_apache_http_HttpException_Lorg_apache_http_HttpResponse_Handler")>]
abstract member HandleException : Org.Apache.Http.HttpException * Org.Apache.Http.IHttpResponse -> unit
override this.HandleException : Org.Apache.Http.HttpException * Org.Apache.Http.IHttpResponse -> unit

Parameter

ex
HttpException

Die HTTP-Ausnahme, die einem Antwortstatus zugeordnet werden soll: nicht unterstützte Methode zu 501, nicht unterstützte HTTP-Version zu 505, Protokollfehler 400 und andere HTTP-Ausnahmen von 500.

response
IHttpResponse

Die Antwort, deren Status und Entität ersetzt werden. Die Entität enthält die Ausnahmemeldung als US-ASCII Nur-Text.

Attribute

Hinweise

Teile dieser Seite sind Änderungen auf der Grundlage von Arbeiten, die von der Android Open Source Project erstellt und gemeinsam verwendet und gemäß den in der 2.5 Attribution License beschriebenen Begriffen verwendet werden.

Gilt für: