AbstractCookieSpec.RegisterAttribHandler 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
註冊一個已命名的 Cookie 屬性的處理器。
[Android.Runtime.Register("registerAttribHandler", "(Ljava/lang/String;Lorg/apache/http/cookie/CookieAttributeHandler;)V", "GetRegisterAttribHandler_Ljava_lang_String_Lorg_apache_http_cookie_CookieAttributeHandler_Handler")]
public virtual void RegisterAttribHandler(string? name, Org.Apache.Http.Cookies.ICookieAttributeHandler? handler);
[<Android.Runtime.Register("registerAttribHandler", "(Ljava/lang/String;Lorg/apache/http/cookie/CookieAttributeHandler;)V", "GetRegisterAttribHandler_Ljava_lang_String_Lorg_apache_http_cookie_CookieAttributeHandler_Handler")>]
abstract member RegisterAttribHandler : string * Org.Apache.Http.Cookies.ICookieAttributeHandler -> unit
override this.RegisterAttribHandler : string * Org.Apache.Http.Cookies.ICookieAttributeHandler -> unit
參數
- name
- String
用來關聯到處理器的 cookie 屬性名稱。
- handler
- ICookieAttributeHandler
屬性處理器要註冊。
- 屬性
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。