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) 立即被呼叫。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。