AuthScope 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| AuthScope(AuthScope) |
建立指定認證範圍的複本。 |
| AuthScope(IntPtr, JniHandleOwnership) |
建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。 |
| AuthScope(String, Int32) |
為指定的 |
| AuthScope(String, Int32, String) |
為指定的 |
| AuthScope(String, Int32, String, String) |
為指定的 |
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
參數
- 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)
為指定的 host、 port、 realm和 任何驗證配置建立新的認證範圍。
[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)
為指定的 host、 port、 realm和 authentication 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 屬性授權中所述的詞彙使用。