BarrierPostPhaseException コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
BarrierPostPhaseException クラスの新しいインスタンスを初期化します。
オーバーロード
| 名前 | 説明 |
|---|---|
| BarrierPostPhaseException() |
エラーを説明するシステム指定のメッセージを使用して、BarrierPostPhaseException クラスの新しいインスタンスを初期化します。 |
| BarrierPostPhaseException(Exception) |
指定した内部例外を使用して、 BarrierPostPhaseException クラスの新しいインスタンスを初期化します。 |
| BarrierPostPhaseException(String) |
エラーを説明する指定したメッセージを使用して、BarrierPostPhaseException クラスの新しいインスタンスを初期化します。 |
| BarrierPostPhaseException(SerializationInfo, StreamingContext) |
古い.
シリアル化されたデータを使用して、 BarrierPostPhaseException クラスの新しいインスタンスを初期化します。 |
| BarrierPostPhaseException(String, Exception) |
指定したエラー メッセージと、この例外の原因である内部例外への参照を使用して、 BarrierPostPhaseException クラスの新しいインスタンスを初期化します。 |
BarrierPostPhaseException()
- ソース:
- Barrier.cs
- ソース:
- Barrier.cs
- ソース:
- Barrier.cs
- ソース:
- Barrier.cs
- ソース:
- Barrier.cs
エラーを説明するシステム指定のメッセージを使用して、BarrierPostPhaseException クラスの新しいインスタンスを初期化します。
public:
BarrierPostPhaseException();
public BarrierPostPhaseException();
Public Sub New ()
注釈
このコンストラクターは、新しいインスタンスの Message プロパティを、"postPhaseAction が例外で失敗しました" などのエラーを説明するシステム指定のメッセージに初期化します。このメッセージでは、現在のシステム カルチャが考慮されます。
次の表に、 BarrierPostPhaseExceptionのインスタンスの初期プロパティ値を示します。
| 財産 | 価値 |
|---|---|
| InnerException |
null。 |
| Message | ローカライズされたエラー メッセージ文字列。 |
こちらもご覧ください
適用対象
BarrierPostPhaseException(Exception)
- ソース:
- Barrier.cs
- ソース:
- Barrier.cs
- ソース:
- Barrier.cs
- ソース:
- Barrier.cs
- ソース:
- Barrier.cs
指定した内部例外を使用して、 BarrierPostPhaseException クラスの新しいインスタンスを初期化します。
public:
BarrierPostPhaseException(Exception ^ innerException);
public BarrierPostPhaseException(Exception innerException);
public BarrierPostPhaseException(Exception? innerException);
new System.Threading.BarrierPostPhaseException : Exception -> System.Threading.BarrierPostPhaseException
Public Sub New (innerException As Exception)
パラメーター
- innerException
- Exception
現在の例外の原因である例外。
こちらもご覧ください
適用対象
BarrierPostPhaseException(String)
- ソース:
- Barrier.cs
- ソース:
- Barrier.cs
- ソース:
- Barrier.cs
- ソース:
- Barrier.cs
- ソース:
- Barrier.cs
エラーを説明する指定したメッセージを使用して、BarrierPostPhaseException クラスの新しいインスタンスを初期化します。
public:
BarrierPostPhaseException(System::String ^ message);
public BarrierPostPhaseException(string message);
public BarrierPostPhaseException(string? message);
new System.Threading.BarrierPostPhaseException : string -> System.Threading.BarrierPostPhaseException
Public Sub New (message As String)
パラメーター
- message
- String
例外を説明するメッセージ。 このコンストラクターの呼び出し元は、この文字列が現在のシステム カルチャ用にローカライズされていることを確認する必要があります。
注釈
次の表に、 BarrierPostPhaseExceptionのインスタンスの初期プロパティ値を示します。
| 財産 | 価値 |
|---|---|
| InnerException |
null。 |
| Message |
messageで指定されたエラー メッセージ文字列。 |
こちらもご覧ください
適用対象
BarrierPostPhaseException(SerializationInfo, StreamingContext)
- ソース:
- Barrier.cs
- ソース:
- Barrier.cs
- ソース:
- Barrier.cs
- ソース:
- Barrier.cs
- ソース:
- Barrier.cs
注意事項
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
シリアル化されたデータを使用して、 BarrierPostPhaseException クラスの新しいインスタンスを初期化します。
protected:
BarrierPostPhaseException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected BarrierPostPhaseException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected BarrierPostPhaseException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[System.Security.SecurityCritical]
protected BarrierPostPhaseException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Threading.BarrierPostPhaseException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Threading.BarrierPostPhaseException
new System.Threading.BarrierPostPhaseException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Threading.BarrierPostPhaseException
[<System.Security.SecurityCritical>]
new System.Threading.BarrierPostPhaseException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Threading.BarrierPostPhaseException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
パラメーター
- info
- SerializationInfo
シリアル化されたオブジェクト データを保持するオブジェクト。
- context
- StreamingContext
ソースまたは変換先に関するコンテキスト情報。
- 属性
注釈
このコンストラクターは、ストリーム経由で送信される例外オブジェクトを再構成するために、逆シリアル化中に呼び出されます。
こちらもご覧ください
適用対象
BarrierPostPhaseException(String, Exception)
- ソース:
- Barrier.cs
- ソース:
- Barrier.cs
- ソース:
- Barrier.cs
- ソース:
- Barrier.cs
- ソース:
- Barrier.cs
指定したエラー メッセージと、この例外の原因である内部例外への参照を使用して、 BarrierPostPhaseException クラスの新しいインスタンスを初期化します。
public:
BarrierPostPhaseException(System::String ^ message, Exception ^ innerException);
public BarrierPostPhaseException(string message, Exception innerException);
public BarrierPostPhaseException(string? message, Exception? innerException);
new System.Threading.BarrierPostPhaseException : string * Exception -> System.Threading.BarrierPostPhaseException
Public Sub New (message As String, innerException As Exception)
パラメーター
- message
- String
例外を説明するメッセージ。 このコンストラクターの呼び出し元は、この文字列が現在のシステム カルチャ用にローカライズされていることを確認する必要があります。
- innerException
- Exception
現在の例外の原因である例外。
innerException パラメーターがnullされていない場合、内部例外を処理するcatch ブロックで現在の例外が発生します。
注釈
前の例外の直接の結果としてスローされる例外は、 InnerException プロパティに前の例外への参照を含める必要があります。
InnerException プロパティは、コンストラクターに渡されるのと同じ値を返します。または、null プロパティがコンストラクターに内部例外値を提供しない場合はInnerExceptionします。
次の表に、 BarrierPostPhaseExceptionのインスタンスの初期プロパティ値を示します。
| 財産 | 価値 |
|---|---|
| InnerException |
null。 |
| Message |
messageで指定されたエラー メッセージ文字列。 |