次の方法で共有


accelerator_view_removed クラス

基になる DirectX の呼び出しが Windows のタイムアウトの検出と回復機構が原因で失敗した場合にスローされる例外。

構文

class accelerator_view_removed : public runtime_exception;

メンバー

パブリック コンストラクター

名前 説明
accelerator_view_removed コンストラクター accelerator_view_removed クラスの新しいインスタンスを初期化します。

パブリック メソッド

名前 説明
get_view_removed_reason accelerator_view オブジェクトの削除の原因を示す HRESULT エラー コードを返します。

継承階層

exception

runtime_exception

out_of_memory

必要条件

ヘッダー: amprt.h

名前空間: Concurrency

accelerator_view_removed

accelerator_view_removed クラスの新しいインスタンスを初期化します。

構文

explicit accelerator_view_removed(
    const char * message,
    HRESULT view_removed_reason ) throw();

explicit accelerator_view_removed(
    HRESULT view_removed_reason ) throw();

パラメーター

message
エラーの説明。

view_removed_reason
accelerator_view オブジェクトの削除の原因を示す HRESULT エラー コード。

戻り値

accelerator_view_removed クラスの新しいインスタンス。

get_view_removed_reason

accelerator_view オブジェクトの削除の原因を示す HRESULT エラー コードを返します。

構文

HRESULT get_view_removed_reason() const throw();

関連項目

コンカレンシー名前空間 (C++ AMP)