Sdílet prostřednictvím


VcnManager.VcnStatusCallback.OnGatewayConnectionError Method

Definition

Invoked when a VCN Gateway Connection corresponding to this callback's subscription group encounters an error.

[Android.Runtime.Register("onGatewayConnectionError", "(Ljava/lang/String;ILjava/lang/Throwable;)V", "GetOnGatewayConnectionError_Ljava_lang_String_ILjava_lang_Throwable_Handler", ApiSince=31)]
public abstract void OnGatewayConnectionError (string gatewayConnectionName, int errorCode, Java.Lang.Throwable? detail);
[<Android.Runtime.Register("onGatewayConnectionError", "(Ljava/lang/String;ILjava/lang/Throwable;)V", "GetOnGatewayConnectionError_Ljava_lang_String_ILjava_lang_Throwable_Handler", ApiSince=31)>]
abstract member OnGatewayConnectionError : string * int * Java.Lang.Throwable -> unit

Parameters

gatewayConnectionName
String

the String GatewayConnection name for the GatewayConnection encountering an error. This will match the name for exactly one VcnGatewayConnectionConfig for the VcnConfig configured for this callback's subscription group

errorCode
Int32

the code to indicate the error that occurred. This value will be one of VCN_ERROR_CODE_*.

detail
Throwable

Throwable to provide additional information about the error, or null if none

Attributes

Remarks

Invoked when a VCN Gateway Connection corresponding to this callback's subscription group encounters an error.

Java documentation for android.net.vcn.VcnManager.VcnStatusCallback.onGatewayConnectionError(java.lang.String, int, java.lang.Throwable).

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