AuthScope 建構函式

定義

多載

AuthScope(AuthScope)

建立指定認證範圍的複本。

AuthScope(IntPtr, JniHandleOwnership)

建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。

AuthScope(String, Int32)

為指定的 host、、 port任何領域名稱和任何驗證配置建立新的認證範圍。

AuthScope(String, Int32, String)

為指定的 hostportrealm和 任何驗證配置建立新的認證範圍。

AuthScope(String, Int32, String, String)

為指定的 hostportrealmauthentication scheme建立新的認證範圍。

AuthScope(AuthScope)

建立指定認證範圍的複本。

[Android.Runtime.Register(".ctor", "(Lorg/apache/http/auth/AuthScope;)V", "")]
public AuthScope (Org.Apache.Http.Authentication.AuthScope? authscope);
[<Android.Runtime.Register(".ctor", "(Lorg/apache/http/auth/AuthScope;)V", "")>]
new Org.Apache.Http.Authentication.AuthScope : Org.Apache.Http.Authentication.AuthScope -> Org.Apache.Http.Authentication.AuthScope

參數

authscope
AuthScope
屬性

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

AuthScope(IntPtr, JniHandleOwnership)

建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。

protected AuthScope (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Org.Apache.Http.Authentication.AuthScope : nativeint * Android.Runtime.JniHandleOwnership -> Org.Apache.Http.Authentication.AuthScope

參數

javaReference
IntPtr

nativeint

IntPtr,包含 Java Native Interface (JNI) 對象參考。

transfer
JniHandleOwnership

JniHandleOwnership,指出如何處理javaReference

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

AuthScope(String, Int32)

為指定的 host、、 port任何領域名稱和任何驗證配置建立新的認證範圍。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")]
public AuthScope (string? host, int port);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;I)V", "")>]
new Org.Apache.Http.Authentication.AuthScope : string * int -> Org.Apache.Http.Authentication.AuthScope

參數

host
String
port
Int32
屬性

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

AuthScope(String, Int32, String)

為指定的 hostportrealm和 任何驗證配置建立新的認證範圍。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/String;)V", "")]
public AuthScope (string? host, int port, string? realm);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/String;)V", "")>]
new Org.Apache.Http.Authentication.AuthScope : string * int * string -> Org.Apache.Http.Authentication.AuthScope

參數

host
String
port
Int32
realm
String
屬性

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於

AuthScope(String, Int32, String, String)

為指定的 hostportrealmauthentication scheme建立新的認證範圍。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V", "")]
public AuthScope (string? host, int port, string? realm, string? scheme);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;)V", "")>]
new Org.Apache.Http.Authentication.AuthScope : string * int * string * string -> Org.Apache.Http.Authentication.AuthScope

參數

host
String
port
Int32
realm
String
scheme
String
屬性

備註

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於