Condividi tramite


IChildSessionCallback.OnClosedWithException(IkeException) Method

Definition

Called if the Child Session setup failed or Child Session is closed because of a fatal error.

[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

Parameters

exception
IkeException

the detailed error information.

Attributes

Remarks

Called if the Child Session setup failed or Child Session is closed because of a fatal error.

This method will be called immediately after #onIpSecTransformDeleted(IpSecTransform, int) for the deleted IPsec SA pair is fired.

Java documentation for android.net.ipsec.ike.ChildSessionCallback.onClosedWithException(android.net.ipsec.ike.exceptions.IkeException).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to