共用方式為


SslError.AddError(SslErrorType) Method

Definition

Adds the supplied SSL error to the set.

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

Parameters

error
SslErrorType

The SSL error to add

Returns

True if the error being added is a known SSL error, otherwise false.

Attributes

Remarks

Adds the supplied SSL error to the set.

Java documentation for android.net.http.SslError.addError(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