IChildSessionCallback.OnIpSecTransformDeleted(IpSecTransform, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called when an IpSecTransform
is deleted by this Child Session.
[Android.Runtime.Register("onIpSecTransformDeleted", "(Landroid/net/IpSecTransform;I)V", "GetOnIpSecTransformDeleted_Landroid_net_IpSecTransform_IHandler:Android.Net.IpSec.Ike.IChildSessionCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]
public void OnIpSecTransformDeleted (Android.Net.IpSecTransform ipSecTransform, int direction);
[<Android.Runtime.Register("onIpSecTransformDeleted", "(Landroid/net/IpSecTransform;I)V", "GetOnIpSecTransformDeleted_Landroid_net_IpSecTransform_IHandler:Android.Net.IpSec.Ike.IChildSessionCallbackInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]
abstract member OnIpSecTransformDeleted : Android.Net.IpSecTransform * int -> unit
Parameters
- ipSecTransform
- IpSecTransform
the deleted IpSecTransform
.
- direction
- Int32
the direction of this IpSecTransform
.
- Attributes
Remarks
Called when an IpSecTransform
is deleted by this Child Session.
This method is fired when a Child Session is closed or a Child Session has deleted old IPsec SA during rekey. When this method is fired due to Child Session closure, it will be followed by #onClosed()
or #onClosedWithException(IkeException)
.
Users SHOULD remove the IpSecTransform
from the socket or interface when this method is called. Otherwise the IPsec traffic protected by this IpSecTransform
will be discarded.
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.