Ikev2VpnProfile.Builder.Build 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.
Validates, builds and provisions the VpnProfile.
[Android.Runtime.Register("build", "()Landroid/net/Ikev2VpnProfile;", "", ApiSince=30)]
public Android.Net.Ikev2VpnProfile Build();
[<Android.Runtime.Register("build", "()Landroid/net/Ikev2VpnProfile;", "", ApiSince=30)>]
member this.Build : unit -> Android.Net.Ikev2VpnProfile
Returns
The configured VPN profile.
- Attributes
Exceptions
Thrown when required values are invalid, authentication is missing, or incompatible options were combined.
Remarks
A direct server-address profile must have exactly one authentication method. Profiles built from IkeTunnelConnectionParams configure authentication in those parameters.
Java documentation for android.net.Ikev2VpnProfile.Builder.build().
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.