IChildSessionCallback.OnClosedWithException(IkeException) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
如果子会话设置失败或子会话因错误而关闭,则调用。
[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) ,将立即调用此方法。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。