Language

AppSearchException コンストラクター

定義

オーバーロード

Name 説明
AppSearchException(Int32)

メッセージなしで AppSearchException を初期化します。

AppSearchException(Int32, String)

結果コードとメッセージを使用して AppSearchException を初期化します。

AppSearchException(IntPtr, JniHandleOwnership)
AppSearchException(Int32, String, Throwable)

結果コード、メッセージ、原因を使用して AppSearchException を初期化します。

AppSearchException(Int32)

メッセージなしで AppSearchException を初期化します。

[Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=31)]
public AppSearchException(int resultCode);
[<Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=31)>]
new Android.App.AppSearch.Exceptions.AppSearchException : int -> Android.App.AppSearch.Exceptions.AppSearchException

パラメーター

resultCode
Int32

AppSearchResult#getResultCodeに記載されている定数の 1 つ。

属性

注釈

メッセージなしで AppSearchException を初期化します。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

AppSearchException(Int32, String)

結果コードとメッセージを使用して AppSearchException を初期化します。

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=31)]
public AppSearchException(int resultCode, string? message);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=31)>]
new Android.App.AppSearch.Exceptions.AppSearchException : int * string -> Android.App.AppSearch.Exceptions.AppSearchException

パラメーター

resultCode
Int32

AppSearchResult#getResultCodeに記載されている定数の 1 つ。

message
String

詳細メッセージ (後で #getMessage() メソッドによって取得するために保存されます)。

属性

注釈

結果コードとメッセージを使用して AppSearchException を初期化します。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象

AppSearchException(IntPtr, JniHandleOwnership)

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

パラメーター

javaReference
IntPtr

nativeint

適用対象

AppSearchException(Int32, String, Throwable)

結果コード、メッセージ、原因を使用して AppSearchException を初期化します。

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=31)]
public AppSearchException(int resultCode, string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;Ljava/lang/Throwable;)V", "", ApiSince=31)>]
new Android.App.AppSearch.Exceptions.AppSearchException : int * string * Java.Lang.Throwable -> Android.App.AppSearch.Exceptions.AppSearchException

パラメーター

resultCode
Int32

AppSearchResult#getResultCodeに記載されている定数の 1 つ。

message
String

詳細メッセージ (後で #getMessage() メソッドによって取得するために保存されます)。

cause
Throwable

原因 ( #getCause() メソッドによって後で取得するために保存されます)。 (null 値が許可され、原因が存在しないか不明であることを示します)。

属性

注釈

結果コード、メッセージ、原因を使用して AppSearchException を初期化します。

Javaドキュメント。

このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。

適用対象