語言

TunnelModeChildSessionParams.Builder.AddInternalDnsServerRequest 方法

定義

在正在建置的 TunnelModeChildSessionParams 中加入內部 DNS 伺服器請求。

[Android.Runtime.Register("addInternalDnsServerRequest", "(I)Landroid/net/ipsec/ike/TunnelModeChildSessionParams$Builder;", "", ApiSince=31)]
public Android.Net.IpSec.Ike.TunnelModeChildSessionParams.Builder AddInternalDnsServerRequest(int addressFamily);
[<Android.Runtime.Register("addInternalDnsServerRequest", "(I)Landroid/net/ipsec/ike/TunnelModeChildSessionParams$Builder;", "", ApiSince=31)>]
member this.AddInternalDnsServerRequest : int -> Android.Net.IpSec.Ike.TunnelModeChildSessionParams.Builder

參數

addressFamily
Int32

地址家族。 只允許AF_INET和AF_INET6

傳回

建構這個,方便連鎖。 這個值不可能為零值。

屬性

備註

在正在建置的 TunnelModeChildSessionParams 中加入內部 DNS 伺服器請求。

Android 參考資料。android.net.ipsec.ike.TunnelModeChildSessionParams.Builder.addInternalDnsServerRequest

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於