ExecutionException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| ExecutionException() |
|
| ExecutionException(Throwable) |
|
| ExecutionException(String) |
|
| ExecutionException(IntPtr, JniHandleOwnership) |
建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。 |
| ExecutionException(String, Throwable) |
使用 |
ExecutionException()
ExecutionException建構不含詳細訊息的 。
[Android.Runtime.Register(".ctor", "()V", "")]
protected ExecutionException ();
- 屬性
備註
ExecutionException建構不含詳細訊息的 。 原因未初始化,而且後續可能會由呼叫 #initCause(Throwable) initCause初始化。
的 java.util.concurrent.ExecutionException.ExecutionException()Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
ExecutionException(Throwable)
ExecutionException建構具有指定原因的 。
[Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")]
public ExecutionException (Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/Throwable;)V", "")>]
new Java.Util.Concurrent.ExecutionException : Java.Lang.Throwable -> Java.Util.Concurrent.ExecutionException
參數
- cause
- Throwable
原因(此方法稍後會儲存以供擷取 #getCause() )
- 屬性
備註
ExecutionException建構具有指定原因的 。 詳細數據訊息會設定為 (cause == null ? null : cause.toString()) (這通常包含的 cause類別和詳細數據訊息)。
的 java.util.concurrent.ExecutionException.ExecutionException(java.lang.Throwable)Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
ExecutionException(String)
ExecutionException使用指定的詳細資料訊息建構 。
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
protected ExecutionException (string? message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Java.Util.Concurrent.ExecutionException : string -> Java.Util.Concurrent.ExecutionException
參數
- message
- String
詳細資料訊息
- 屬性
備註
ExecutionException使用指定的詳細資料訊息建構 。 原因未初始化,而且後續可能會由呼叫 #initCause(Throwable) initCause初始化。
的 java.util.concurrent.ExecutionException.ExecutionException(java.lang.String)Java 檔。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
ExecutionException(IntPtr, JniHandleOwnership)
建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。
protected ExecutionException (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Java.Util.Concurrent.ExecutionException : nativeint * Android.Runtime.JniHandleOwnership -> Java.Util.Concurrent.ExecutionException
參數
- transfer
- JniHandleOwnership
JniHandleOwnership,指出如何處理javaReference
備註
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
ExecutionException(String, Throwable)
使用 ExecutionException 指定的詳細資料訊息與原因建構 。
[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")]
public ExecutionException (string? message, Java.Lang.Throwable? cause);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/Throwable;)V", "")>]
new Java.Util.Concurrent.ExecutionException : string * Java.Lang.Throwable -> Java.Util.Concurrent.ExecutionException
參數
- message
- String
詳細資料訊息
- cause
- Throwable
原因(此方法稍後會儲存以供擷取 #getCause() )
- 屬性
備註
使用 ExecutionException 指定的詳細資料訊息與原因建構 。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。