語言

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)。

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

適用於