Sdílet prostřednictvím


InvalidMajorVersionException(SByte) Constructor

Definition

Construct a instance of InvalidMajorVersionException

[Android.Runtime.Register(".ctor", "(B)V", "", ApiSince=31)]
public InvalidMajorVersionException (sbyte version);
[<Android.Runtime.Register(".ctor", "(B)V", "", ApiSince=31)>]
new Android.Net.IpSec.Ike.Exceptions.InvalidMajorVersionException : sbyte -> Android.Net.IpSec.Ike.Exceptions.InvalidMajorVersionException

Parameters

version
SByte

the major version in received packet

Attributes

Remarks

Construct a instance of InvalidMajorVersionException

Except for testing, IKE library users normally do not instantiate this object themselves but instead get a reference via IkeSessionCallback or ChildSessionCallback.

Java documentation for android.net.ipsec.ike.exceptions.InvalidMajorVersionException.InvalidMajorVersionException(byte).

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