Udostępnij za pośrednictwem


SslError.HasError(SslErrorType) Method

Definition

Determines whether this object includes the supplied error.

[Android.Runtime.Register("hasError", "(I)Z", "GetHasError_IHandler")]
public virtual bool HasError (Android.Net.Http.SslErrorType error);
[<Android.Runtime.Register("hasError", "(I)Z", "GetHasError_IHandler")>]
abstract member HasError : Android.Net.Http.SslErrorType -> bool
override this.HasError : Android.Net.Http.SslErrorType -> bool

Parameters

error
SslErrorType

The SSL error to check for

Returns

True if this object includes the error, otherwise false.

Attributes

Remarks

Determines whether this object includes the supplied error.

Java documentation for android.net.http.SslError.hasError(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to