语言

IkeSessionParams.Builder.SetRemoteIdentification(IkeIdentification) 方法

定义

为正在生成的 IkeSessionParams 设置远程 IKE 标识。

[Android.Runtime.Register("setRemoteIdentification", "(Landroid/net/ipsec/ike/IkeIdentification;)Landroid/net/ipsec/ike/IkeSessionParams$Builder;", "", ApiSince=31)]
public Android.Net.IpSec.Ike.IkeSessionParams.Builder SetRemoteIdentification(Android.Net.IpSec.Ike.IkeIdentification identification);
[<Android.Runtime.Register("setRemoteIdentification", "(Landroid/net/ipsec/ike/IkeIdentification;)Landroid/net/ipsec/ike/IkeSessionParams$Builder;", "", ApiSince=31)>]
member this.SetRemoteIdentification : Android.Net.IpSec.Ike.IkeIdentification -> Android.Net.IpSec.Ike.IkeSessionParams.Builder

参数

identification
IkeIdentification

远程 IKE 标识。 此值不能为 null。

返回

构建此生成器,以促进链接。 此值不能为 null。

特性

注解

为正在生成的 IkeSessionParams 设置远程 IKE 标识。

Android 参考。android.net.ipsec.ike.IkeSessionParams.Builder.setRemoteIdentification

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于