IIkeSessionCallback.OnError(IkeException) 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 if a recoverable error is encountered in an established IkeSession
.
[Android.Runtime.Register("onError", "(Landroid/net/ipsec/ike/exceptions/IkeException;)V", "GetOnError_Landroid_net_ipsec_ike_exceptions_IkeException_Handler:Android.Net.IpSec.Ike.IIkeSessionCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)]
public virtual void OnError (Android.Net.IpSec.Ike.Exceptions.IkeException exception);
[<Android.Runtime.Register("onError", "(Landroid/net/ipsec/ike/exceptions/IkeException;)V", "GetOnError_Landroid_net_ipsec_ike_exceptions_IkeException_Handler:Android.Net.IpSec.Ike.IIkeSessionCallback, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null", ApiSince=31)>]
abstract member OnError : Android.Net.IpSec.Ike.Exceptions.IkeException -> unit
override this.OnError : Android.Net.IpSec.Ike.Exceptions.IkeException -> unit
Parameters
- exception
- IkeException
the detailed error information.
- Attributes
Remarks
Called if a recoverable error is encountered in an established IkeSession
.
This method may be triggered by protocol errors such as an INVALID_IKE_SPI, or by non-protocol errors such as the underlying android.net.Network
dying.
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.