WarningException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy WarningException.

Przeciążenia

Nazwa Opis
WarningException()

Inicjuje nowe wystąpienie klasy WarningException.

WarningException(String)

Inicjuje nowe wystąpienie WarningException klasy z określonym komunikatem i bez pliku Pomocy.

WarningException(SerializationInfo, StreamingContext)
Przestarzałe.

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

WarningException(String, Exception)

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

WarningException(String, String)

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

WarningException(String, String, String)

Inicjuje nowe wystąpienie WarningException 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
Ź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
Źródło:
WarningException.cs
Źródło:
WarningException.cs

Inicjuje nowe wystąpienie WarningException klasy z określonym komunikatem i bez 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
Źródło:
WarningException.cs
Źródło:
WarningException.cs

Uwaga

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

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

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)

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
Źródło:
WarningException.cs
Źródło:
WarningException.cs

Inicjuje nowe wystąpienie WarningException klasy z określonym szczegółowym opisem 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 wyjątku wewnętrznego, 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
Źródło:
WarningException.cs
Źródło:
WarningException.cs

Inicjuje nowe wystąpienie WarningException 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 do wyświetlenia, jeśli użytkownik zażąda pomocy.

Dotyczy

WarningException(String, String, String)

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

Inicjuje nowe wystąpienie WarningException 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 do wyświetlenia, jeśli użytkownik zażąda pomocy.

helpTopic
String

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

Dotyczy