SetSchemaResponse.MigrationFailures Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a List
of all failed MigrationFailure
.
public virtual System.Collections.Generic.IList<Android.App.AppSearch.SetSchemaResponse.MigrationFailure> MigrationFailures { [Android.Runtime.Register("getMigrationFailures", "()Ljava/util/List;", "GetGetMigrationFailuresHandler", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getMigrationFailures", "()Ljava/util/List;", "GetGetMigrationFailuresHandler", ApiSince=31)>]
member this.MigrationFailures : System.Collections.Generic.IList<Android.App.AppSearch.SetSchemaResponse.MigrationFailure>
Property Value
- Attributes
Remarks
Returns a List
of all failed MigrationFailure
.
A MigrationFailure
will be generated if the system trying to save a post-migrated GenericDocument
but fail.
MigrationFailure
contains the namespace, id and schemaType of the post-migrated GenericDocument
and the error reason. Mostly it will be mismatch the schema it migrated to.
Java documentation for android.app.appsearch.SetSchemaResponse.getMigrationFailures()
.
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.