BasicCredentialsProvider.SetCredentials(AuthScope, ICredentials) 方法

定义

[Android.Runtime.Register("setCredentials", "(Lorg/apache/http/auth/AuthScope;Lorg/apache/http/auth/Credentials;)V", "GetSetCredentials_Lorg_apache_http_auth_AuthScope_Lorg_apache_http_auth_Credentials_Handler")]
public virtual void SetCredentials(Org.Apache.Http.Authentication.AuthScope? authscope, Org.Apache.Http.Authentication.ICredentials? credentials);
[<Android.Runtime.Register("setCredentials", "(Lorg/apache/http/auth/AuthScope;Lorg/apache/http/auth/Credentials;)V", "GetSetCredentials_Lorg_apache_http_auth_AuthScope_Lorg_apache_http_auth_Credentials_Handler")>]
abstract member SetCredentials : Org.Apache.Http.Authentication.AuthScope * Org.Apache.Http.Authentication.ICredentials -> unit
override this.SetCredentials : Org.Apache.Http.Authentication.AuthScope * Org.Apache.Http.Authentication.ICredentials -> unit

参数

authscope
AuthScope
credentials
ICredentials

实现

属性

注解

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于