WarningException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy WarningException.

Przeciążenia

WarningException()

Inicjuje nowe wystąpienie klasy WarningException.

WarningException(String)

Inicjuje WarningException nowe wystąpienie klasy przy użyciu określonego komunikatu i nie zawiera pliku Pomocy.

WarningException(SerializationInfo, StreamingContext)
Przestarzałe.

Inicjuje WarningException nowe wystąpienie klasy przy użyciu określonych danych serializacji i kontekstu.

WarningException(String, Exception)

Inicjuje WarningException nowe wystąpienie klasy z określonym opisem szczegółowym i określonym wyjątkiem.

WarningException(String, String)

Inicjuje WarningException nowe wystąpienie klasy z określonym komunikatem i dostępem do określonego pliku Pomocy.

WarningException(String, String, String)

Inicjuje WarningException nowe wystąpienie klasy z określonym komunikatem i dostępem do określonego pliku i tematu Pomocy.

WarningException()

Źródło:
WarningException.cs
Źródło:
WarningException.cs
Źródło:
WarningException.cs

Inicjuje nowe wystąpienie klasy WarningException.

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

Dotyczy

WarningException(String)

Źródło:
WarningException.cs
Źródło:
WarningException.cs
Źródło:
WarningException.cs

Inicjuje WarningException nowe wystąpienie klasy przy użyciu określonego komunikatu i nie zawiera pliku Pomocy.

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)

Parametry

message
String

Komunikat wyświetlany użytkownikowi końcowemu.

Dotyczy

WarningException(SerializationInfo, StreamingContext)

Źródło:
WarningException.cs
Źródło:
WarningException.cs
Źródło:
WarningException.cs

Przestroga

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

Inicjuje WarningException nowe wystąpienie klasy przy użyciu określonych danych serializacji i kontekstu.

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

Parametry

info
SerializationInfo

Element SerializationInfo , który ma być używany do deserializacji.

context
StreamingContext

Miejsce docelowe, które ma być używane do deserializacji.

Atrybuty

Dotyczy

WarningException(String, Exception)

Źródło:
WarningException.cs
Źródło:
WarningException.cs
Źródło:
WarningException.cs

Inicjuje WarningException nowe wystąpienie klasy z określonym opisem szczegółowym i określonym wyjątkiem.

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)

Parametry

message
String

Szczegółowy opis błędu.

innerException
Exception

Odwołanie do wewnętrznego wyjątku, który jest przyczyną tego wyjątku.

Dotyczy

WarningException(String, String)

Źródło:
WarningException.cs
Źródło:
WarningException.cs
Źródło:
WarningException.cs

Inicjuje WarningException nowe wystąpienie klasy z określonym komunikatem i dostępem do określonego pliku Pomocy.

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)

Parametry

message
String

Komunikat wyświetlany użytkownikowi końcowemu.

helpUrl
String

Plik Pomocy, który ma być wyświetlany, jeśli użytkownik żąda pomocy.

Dotyczy

WarningException(String, String, String)

Źródło:
WarningException.cs
Źródło:
WarningException.cs
Źródło:
WarningException.cs

Inicjuje WarningException nowe wystąpienie klasy z określonym komunikatem i dostępem do określonego pliku i tematu Pomocy.

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)

Parametry

message
String

Komunikat wyświetlany użytkownikowi końcowemu.

helpUrl
String

Plik Pomocy, który ma być wyświetlany, jeśli użytkownik żąda pomocy.

helpTopic
String

Temat Pomocy, który ma być wyświetlany, jeśli użytkownik żąda pomocy.

Dotyczy