AppSearchResult.ErrorMessage 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 the error message associated with this result.
public string? ErrorMessage { [Android.Runtime.Register("getErrorMessage", "()Ljava/lang/String;", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getErrorMessage", "()Ljava/lang/String;", "", ApiSince=31)>]
member this.ErrorMessage : string
Property Value
- Attributes
Remarks
Returns the error message associated with this result.
If #isSuccess
is true
, the error message is always null
. The error message may be null
even if #isSuccess
is false
. See the documentation of the particular AppSearchSession
call producing this AppSearchResult
for what is returned by #getErrorMessage
.
Java documentation for android.app.appsearch.AppSearchResult.getErrorMessage()
.
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.