WaitHandleCannotBeOpenedExceptionとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > WaitHandleCannotBeOpenedExceptionの意味・解説 

WaitHandleCannotBeOpenedException クラス

メモ : このクラスは、.NET Framework version 2.0 で新しく追加されたものです。

存在しないシステム ミューテックスまたはシステム セマフォを開こうとしたときにスローされる例外。

名前空間: System.Threading
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

<SerializableAttribute> _
<ComVisibleAttribute(False)> _
Public Class WaitHandleCannotBeOpenedException
    Inherits ApplicationException
Dim instance As WaitHandleCannotBeOpenedException
[SerializableAttribute] 
[ComVisibleAttribute(false)] 
public class WaitHandleCannotBeOpenedException
 : ApplicationException
[SerializableAttribute] 
[ComVisibleAttribute(false)] 
public ref class WaitHandleCannotBeOpenedException
 : public ApplicationException
/** @attribute SerializableAttribute() */ 
/** @attribute ComVisibleAttribute(false) */ 
public class WaitHandleCannotBeOpenedException
 extends ApplicationException
SerializableAttribute 
ComVisibleAttribute(false) 
public class WaitHandleCannotBeOpenedException
 extends ApplicationException
解説解説

Mutex クラスおよび Semaphore クラスのインスタンスは、名前付きシステム同期オブジェクトを表すことができます。Mutex.OpenExisting メソッドまたは Semaphore.OpenExisting メソッドを使用して、存在しない名前付きシステム オブジェクトを開こうとすると、WaitHandleCannotBeOpenedException がスローされます。

継承階層継承階層
System.Object
   System.Exception
     System.ApplicationException
      System.Threading.WaitHandleCannotBeOpenedException
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
WaitHandleCannotBeOpenedException メンバ
System.Threading 名前空間
Mutex.OpenExisting
Semaphore.OpenExisting

WaitHandleCannotBeOpenedException コンストラクタ ()

メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。

WaitHandleCannotBeOpenedException クラスの新しいインスタンスを既定値で初期化します。

名前空間: System.Threading
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Dim instance As New WaitHandleCannotBeOpenedException
public WaitHandleCannotBeOpenedException ()
public:
WaitHandleCannotBeOpenedException ()
public WaitHandleCannotBeOpenedException ()
public function WaitHandleCannotBeOpenedException
 ()
解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
WaitHandleCannotBeOpenedException クラス
WaitHandleCannotBeOpenedException メンバ
System.Threading 名前空間

WaitHandleCannotBeOpenedException コンストラクタ (String)

メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。

指定したエラー メッセージを使用して、WaitHandleCannotBeOpenedException クラスの新しいインスタンスを初期化します。

名前空間: System.Threading
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Dim message As String

Dim instance As New WaitHandleCannotBeOpenedException(message)
public WaitHandleCannotBeOpenedException (
    string message
)
public:
WaitHandleCannotBeOpenedException (
    String^ message
)
public WaitHandleCannotBeOpenedException (
    String message
)
public function WaitHandleCannotBeOpenedException
 (
    message : String
)

パラメータ

message

例外の原因を説明するエラー メッセージ。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
WaitHandleCannotBeOpenedException クラス
WaitHandleCannotBeOpenedException メンバ
System.Threading 名前空間

WaitHandleCannotBeOpenedException コンストラクタ

WaitHandleCannotBeOpenedException クラスの新しいインスタンスを初期化します。
オーバーロードの一覧オーバーロードの一覧

名前 説明
WaitHandleCannotBeOpenedException () WaitHandleCannotBeOpenedException クラスの新しいインスタンスを既定値で初期化します。
WaitHandleCannotBeOpenedException (String) 指定したエラー メッセージを使用して、WaitHandleCannotBeOpenedException クラスの新しいインスタンスを初期化します。
WaitHandleCannotBeOpenedException (SerializationInfo, StreamingContext) シリアル化したデータを使用して、WaitHandleCannotBeOpenedException クラスの新しいインスタンスを初期化します。
WaitHandleCannotBeOpenedException (String, Exception) 指定したエラー メッセージと、この例外の原因である内部例外への参照を使用して、WaitHandleCannotBeOpenedException クラスの新しいインスタンスを初期化します。
参照参照

関連項目

WaitHandleCannotBeOpenedException クラス
WaitHandleCannotBeOpenedException メンバ
System.Threading 名前空間

WaitHandleCannotBeOpenedException コンストラクタ (String, Exception)

メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。

指定したエラー メッセージと、この例外の原因である内部例外への参照を使用して、WaitHandleCannotBeOpenedException クラスの新しいインスタンスを初期化します。

名前空間: System.Threading
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Public Sub New ( _
    message As String, _
    innerException As Exception _
)
Dim message As String
Dim innerException As Exception

Dim instance As New WaitHandleCannotBeOpenedException(message,
 innerException)
public WaitHandleCannotBeOpenedException (
    string message,
    Exception innerException
)
public:
WaitHandleCannotBeOpenedException (
    String^ message, 
    Exception^ innerException
)
public WaitHandleCannotBeOpenedException (
    String message, 
    Exception innerException
)
public function WaitHandleCannotBeOpenedException
 (
    message : String, 
    innerException : Exception
)

パラメータ

message

例外の原因を説明するエラー メッセージ。

innerException

現在の例外の原因である例外。innerException パラメータが null 参照 (Visual Basic では Nothing) でない場合は、内部例外を処理する catch ブロックで現在の例外が発生します。

解説解説

前の例外の直接の結果としてスローされる例外については、InnerException プロパティに、前の例外への参照が格納されます。InnerException プロパティは、コンストラクタに渡されたものと同じ値を返します。InnerException プロパティによって内部例外値がコンストラクタに渡されなかった場合は、null 参照 (Visual Basic では Nothing) を返します。

プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
WaitHandleCannotBeOpenedException クラス
WaitHandleCannotBeOpenedException メンバ
System.Threading 名前空間

WaitHandleCannotBeOpenedException コンストラクタ (SerializationInfo, StreamingContext)

メモ : このコンストラクタは、.NET Framework version 2.0 で新しく追加されたものです。

シリアル化したデータを使用して、WaitHandleCannotBeOpenedException クラスの新しいインスタンスを初期化します。

名前空間: System.Threading
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
Dim info As SerializationInfo
Dim context As StreamingContext

Dim instance As New WaitHandleCannotBeOpenedException(info,
 context)
protected WaitHandleCannotBeOpenedException (
    SerializationInfo info,
    StreamingContext context
)
protected:
WaitHandleCannotBeOpenedException (
    SerializationInfo^ info, 
    StreamingContext context
)
protected WaitHandleCannotBeOpenedException (
    SerializationInfo info, 
    StreamingContext context
)
protected function WaitHandleCannotBeOpenedException
 (
    info : SerializationInfo, 
    context : StreamingContext
)

パラメータ

info

スローされている例外に関するシリアル化済みオブジェクト データを保持している SerializationInfo オブジェクト。

context

転送元または転送先に関する文脈情報を含んでいる StreamingContext オブジェクト。

解説解説
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
WaitHandleCannotBeOpenedException クラス
WaitHandleCannotBeOpenedException メンバ
System.Threading 名前空間

WaitHandleCannotBeOpenedException プロパティ


パブリック プロパティパブリック プロパティ

プロテクト プロパティプロテクト プロパティ
  名前 説明
プロテクト プロパティ HResult  特定の例外に割り当てられているコード化数値である HRESULT を取得または設定します。 ( Exception から継承されます。)
参照参照

関連項目

WaitHandleCannotBeOpenedException クラス
System.Threading 名前空間
Mutex.OpenExisting
Semaphore.OpenExisting

WaitHandleCannotBeOpenedException メソッド


パブリック メソッドパブリック メソッド

プロテクト メソッドプロテクト メソッド
参照参照

関連項目

WaitHandleCannotBeOpenedException クラス
System.Threading 名前空間
Mutex.OpenExisting
Semaphore.OpenExisting

WaitHandleCannotBeOpenedException メンバ

存在しないシステム ミューテックスまたはシステム セマフォを開こうとしたときにスローされる例外。

WaitHandleCannotBeOpenedException データ型で公開されるメンバを以下の表に示します。


パブリック コンストラクタパブリック コンストラクタ
( プロテクト コンストラクタ も参照)
  名前 説明
パブリック メソッド WaitHandleCannotBeOpenedException オーバーロードされます。 WaitHandleCannotBeOpenedException クラスの新しいインスタンスを初期化します。
プロテクト コンストラクタプロテクト コンストラクタ
  名前 説明
プロテクト メソッド WaitHandleCannotBeOpenedException オーバーロードされます。 WaitHandleCannotBeOpenedException クラスの新しいインスタンスを初期化します。
パブリック プロパティパブリック プロパティ
プロテクト プロパティプロテクト プロパティ
  名前 説明
プロテクト プロパティ HResult  特定の例外に割り当てられているコード化数値である HRESULT を取得または設定します。(Exception から継承されます。)
パブリック メソッドパブリック メソッド
プロテクト メソッドプロテクト メソッド
参照参照

関連項目

WaitHandleCannotBeOpenedException クラス
System.Threading 名前空間
Mutex.OpenExisting
Semaphore.OpenExisting



英和和英テキスト翻訳

英語⇒日本語日本語⇒英語

辞書ショートカット

すべての辞書の索引

「WaitHandleCannotBeOpenedException」の関連用語

WaitHandleCannotBeOpenedExceptionのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



WaitHandleCannotBeOpenedExceptionのページの著作権

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2026 Microsoft.All rights reserved.

©2026 GRAS Group, Inc.RSS