Језик

AppFunctionException Constructors

Definition

Overloads

Name Description
AppFunctionException(AppFunctionError, String)

Creates an app-function error with an error code and message.

AppFunctionException(AppFunctionError, String, Bundle)

Creates an app-function error with an error code, message, and additional error data.

AppFunctionException(AppFunctionError, String)

Creates an app-function error with an error code and message.

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=36)]
public AppFunctionException(Android.App.AppFunctions.AppFunctionError errorCode, string? errorMessage);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=36)>]
new Android.App.AppFunctions.AppFunctionException : Android.App.AppFunctions.AppFunctionError * string -> Android.App.AppFunctions.AppFunctionException

Parameters

errorCode
AppFunctionError

The error code.

errorMessage
String

The error message.

Attributes

Remarks

Java documentation for android.app.appfunctions.AppFunctionException.AppFunctionException(int, java.lang.String).

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

AppFunctionException(AppFunctionError, String, Bundle)

Creates an app-function error with an error code, message, and additional error data.

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;Landroid/os/Bundle;)V", "", ApiSince=36)]
public AppFunctionException(Android.App.AppFunctions.AppFunctionError errorCode, string? errorMessage, Android.OS.Bundle extras);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;Landroid/os/Bundle;)V", "", ApiSince=36)>]
new Android.App.AppFunctions.AppFunctionException : Android.App.AppFunctions.AppFunctionError * string * Android.OS.Bundle -> Android.App.AppFunctions.AppFunctionException

Parameters

errorCode
AppFunctionError

The error code.

errorMessage
String

The error message.

extras
Bundle

The extras associated with this error.

Attributes

Remarks

Java documentation for android.app.appfunctions.AppFunctionException.AppFunctionException(int, java.lang.String, android.os.Bundle).

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