Language

MigrationException(Int32, String) Constructor

Definition

Creates a migration exception that stores the supplied error code and detail message.

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=37)]
public MigrationException(int errorCode, string? message);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=37)>]
new Android.App.PrivateCompute.MigrationException : int * string -> Android.App.PrivateCompute.MigrationException

Parameters

errorCode
Int32

Value is one of the following: ERROR_INVOCATION_FAILED; ERROR_TIMEOUT

message
String

The exception detail message, or null.

Attributes

Remarks

Android reference for android.app.privatecompute.MigrationException.MigrationException.

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