WarningException コンストラクター

定義

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

オーバーロード

名前 説明
WarningException()

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

WarningException(String)

指定したメッセージとヘルプ ファイルを使用せず、 WarningException クラスの新しいインスタンスを初期化します。

WarningException(SerializationInfo, StreamingContext)
古い.

指定したシリアル化データとコンテキストを使用して、 WarningException クラスの新しいインスタンスを初期化します。

WarningException(String, Exception)

指定した詳細な説明と指定した例外を使用して、 WarningException クラスの新しいインスタンスを初期化します。

WarningException(String, String)

指定したメッセージを使用し、指定したヘルプ ファイルにアクセスして、 WarningException クラスの新しいインスタンスを初期化します。

WarningException(String, String, String)

指定したメッセージを使用し、指定したヘルプ ファイルとトピックにアクセスして、 WarningException クラスの新しいインスタンスを初期化します。

WarningException()

ソース:
WarningException.cs
ソース:
WarningException.cs
ソース:
WarningException.cs
ソース:
WarningException.cs
ソース:
WarningException.cs

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

public:
 WarningException();
public WarningException();
Public Sub New ()

適用対象

WarningException(String)

ソース:
WarningException.cs
ソース:
WarningException.cs
ソース:
WarningException.cs
ソース:
WarningException.cs
ソース:
WarningException.cs

指定したメッセージとヘルプ ファイルを使用せず、 WarningException クラスの新しいインスタンスを初期化します。

public:
 WarningException(System::String ^ message);
public WarningException(string? message);
public WarningException(string message);
new System.ComponentModel.WarningException : string -> System.ComponentModel.WarningException
Public Sub New (message As String)

パラメーター

message
String

エンド ユーザーに表示するメッセージ。

適用対象

WarningException(SerializationInfo, StreamingContext)

ソース:
WarningException.cs
ソース:
WarningException.cs
ソース:
WarningException.cs
ソース:
WarningException.cs
ソース:
WarningException.cs

注意事項

This API supports obsolete formatter-based serialization. It should not be called or extended by application code.

指定したシリアル化データとコンテキストを使用して、 WarningException クラスの新しいインスタンスを初期化します。

protected:
 WarningException(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 WarningException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected WarningException(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.ComponentModel.WarningException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ComponentModel.WarningException
new System.ComponentModel.WarningException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.ComponentModel.WarningException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

パラメーター

info
SerializationInfo

逆シリアル化に使用する SerializationInfo

context
StreamingContext

逆シリアル化に使用する宛先。

属性

適用対象

WarningException(String, Exception)

ソース:
WarningException.cs
ソース:
WarningException.cs
ソース:
WarningException.cs
ソース:
WarningException.cs
ソース:
WarningException.cs

指定した詳細な説明と指定した例外を使用して、 WarningException クラスの新しいインスタンスを初期化します。

public:
 WarningException(System::String ^ message, Exception ^ innerException);
public WarningException(string? message, Exception? innerException);
public WarningException(string message, Exception innerException);
new System.ComponentModel.WarningException : string * Exception -> System.ComponentModel.WarningException
Public Sub New (message As String, innerException As Exception)

パラメーター

message
String

エラーの詳細な説明。

innerException
Exception

この例外の原因である内部例外への参照。

適用対象

WarningException(String, String)

ソース:
WarningException.cs
ソース:
WarningException.cs
ソース:
WarningException.cs
ソース:
WarningException.cs
ソース:
WarningException.cs

指定したメッセージを使用し、指定したヘルプ ファイルにアクセスして、 WarningException クラスの新しいインスタンスを初期化します。

public:
 WarningException(System::String ^ message, System::String ^ helpUrl);
public WarningException(string? message, string? helpUrl);
public WarningException(string message, string helpUrl);
new System.ComponentModel.WarningException : string * string -> System.ComponentModel.WarningException
Public Sub New (message As String, helpUrl As String)

パラメーター

message
String

エンド ユーザーに表示するメッセージ。

helpUrl
String

ユーザーがヘルプを要求した場合に表示するヘルプ ファイル。

適用対象

WarningException(String, String, String)

ソース:
WarningException.cs
ソース:
WarningException.cs
ソース:
WarningException.cs
ソース:
WarningException.cs
ソース:
WarningException.cs

指定したメッセージを使用し、指定したヘルプ ファイルとトピックにアクセスして、 WarningException クラスの新しいインスタンスを初期化します。

public:
 WarningException(System::String ^ message, System::String ^ helpUrl, System::String ^ helpTopic);
public WarningException(string? message, string? helpUrl, string? helpTopic);
public WarningException(string message, string helpUrl, string helpTopic);
new System.ComponentModel.WarningException : string * string * string -> System.ComponentModel.WarningException
Public Sub New (message As String, helpUrl As String, helpTopic As String)

パラメーター

message
String

エンド ユーザーに表示するメッセージ。

helpUrl
String

ユーザーがヘルプを要求した場合に表示するヘルプ ファイル。

helpTopic
String

ユーザーがヘルプを要求した場合に表示するヘルプ トピック。

適用対象