语言

IChildSessionCallback.OnClosedWithException(IkeException) 方法

定义

如果子会话设置失败或子会话因错误而关闭,则调用。

[Android.Runtime.Register("onClosedWithException", "(Landroid/net/ipsec/ike/exceptions/IkeException;)V", "GetOnClosedWithException_Landroid_net_ipsec_ike_exceptions_IkeException_Handler:Android.Net.IpSec.Ike.IChildSessionCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]
public virtual void OnClosedWithException(Android.Net.IpSec.Ike.Exceptions.IkeException exception);
[<Android.Runtime.Register("onClosedWithException", "(Landroid/net/ipsec/ike/exceptions/IkeException;)V", "GetOnClosedWithException_Landroid_net_ipsec_ike_exceptions_IkeException_Handler:Android.Net.IpSec.Ike.IChildSessionCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]
abstract member OnClosedWithException : Android.Net.IpSec.Ike.Exceptions.IkeException -> unit
override this.OnClosedWithException : Android.Net.IpSec.Ike.Exceptions.IkeException -> unit

参数

exception
IkeException

详细的错误信息。

特性

注解

如果子会话设置失败或子会话因错误而关闭,则调用。

在触发已删除的 IPsec SA 对后 #onIpSecTransformDeleted(IpSecTransform, int) ,将立即调用此方法。

Java文档android.net.ipsec.ike.ChildSessionCallback.onClosedWithException(android.net.ipsec.ike.exceptions.IkeException)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于