Share via


SetSchemaResponse.MigrationFailure Constructors

Definition

Overloads

SetSchemaResponse.MigrationFailure(IntPtr, JniHandleOwnership)
SetSchemaResponse.MigrationFailure(String, String, String, AppSearchResult)

Constructs a new MigrationFailure.

SetSchemaResponse.MigrationFailure(IntPtr, JniHandleOwnership)

protected MigrationFailure (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.AppSearch.SetSchemaResponse.MigrationFailure : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.AppSearch.SetSchemaResponse.MigrationFailure

Parameters

javaReference
IntPtr

nativeint

Applies to

SetSchemaResponse.MigrationFailure(String, String, String, AppSearchResult)

Constructs a new MigrationFailure.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/app/appsearch/AppSearchResult;)V", "", ApiSince=31)]
public MigrationFailure (string namespace, string documentId, string schemaType, Android.App.AppSearch.AppSearchResult failedResult);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Landroid/app/appsearch/AppSearchResult;)V", "", ApiSince=31)>]
new Android.App.AppSearch.SetSchemaResponse.MigrationFailure : string * string * string * Android.App.AppSearch.AppSearchResult -> Android.App.AppSearch.SetSchemaResponse.MigrationFailure

Parameters

namespace
String

The namespace of the document which failed to be migrated.

documentId
String

The id of the document which failed to be migrated.

schemaType
String

The type of the document which failed to be migrated.

failedResult
AppSearchResult

The reason why the document failed to be indexed.

Attributes

Remarks

Java documentation for android.app.appsearch.SetSchemaResponse.MigrationFailure.SetSchemaResponse$MigrationFailure(java.lang.String, java.lang.String, java.lang.String, android.app.appsearch.AppSearchResult<?>).

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