語言

SetSchemaResponse.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

參數

javaReference
IntPtr

nativeint

適用於

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

建構新的 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

參數

namespace
String

未能遷移的文件命名空間。

documentId
String

未能遷移的文件的 ID。

schemaType
String

未能遷移的文件類型。

failedResult
AppSearchResult

文件未被索引的原因。

屬性

備註

建構新的 MigrationFailure。

Java 文件 android.app.appsearch.SetSchemaResponse.MigrationFailure.SetSchemaResponse$MigrationFailure(java.lang.String, java.lang.String, java.lang.String, android.app.appsearch.AppSearchResult<?>)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於