WarningException Constructors
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Initialiseert een nieuw exemplaar van de WarningException klasse.
Overloads
| Name | Description |
|---|---|
| WarningException() |
Initialiseert een nieuw exemplaar van de WarningException klasse. |
| WarningException(String) |
Initialiseert een nieuw exemplaar van de WarningException klasse met het opgegeven bericht en geen Help-bestand. |
| WarningException(SerializationInfo, StreamingContext) |
Verouderd.
Initialiseert een nieuw exemplaar van de WarningException klasse met behulp van de opgegeven serialisatiegegevens en context. |
| WarningException(String, Exception) |
Initialiseert een nieuw exemplaar van de WarningException klasse met de opgegeven gedetailleerde beschrijving en de opgegeven uitzondering. |
| WarningException(String, String) |
Initialiseert een nieuw exemplaar van de WarningException klasse met het opgegeven bericht en met toegang tot het opgegeven Help-bestand. |
| WarningException(String, String, String) |
Initialiseert een nieuw exemplaar van de WarningException klasse met het opgegeven bericht en met toegang tot het opgegeven Help-bestand en -onderwerp. |
WarningException()
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
Initialiseert een nieuw exemplaar van de WarningException klasse.
public:
WarningException();
public WarningException();
Public Sub New ()
Van toepassing op
WarningException(String)
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
Initialiseert een nieuw exemplaar van de WarningException klasse met het opgegeven bericht en geen Help-bestand.
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)
Parameters
- message
- String
Het bericht dat moet worden weergegeven aan de eindgebruiker.
Van toepassing op
WarningException(SerializationInfo, StreamingContext)
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
Let op
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Initialiseert een nieuw exemplaar van de WarningException klasse met behulp van de opgegeven serialisatiegegevens en 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);
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)
Parameters
- info
- SerializationInfo
De SerializationInfo te gebruiken voor deserialisatie.
- context
- StreamingContext
De bestemming die moet worden gebruikt voor deserialisatie.
- Kenmerken
Van toepassing op
WarningException(String, Exception)
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
Initialiseert een nieuw exemplaar van de WarningException klasse met de opgegeven gedetailleerde beschrijving en de opgegeven uitzondering.
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)
Parameters
- message
- String
Een gedetailleerde beschrijving van de fout.
- innerException
- Exception
Een verwijzing naar de interne uitzondering die de oorzaak van deze uitzondering is.
Van toepassing op
WarningException(String, String)
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
Initialiseert een nieuw exemplaar van de WarningException klasse met het opgegeven bericht en met toegang tot het opgegeven Help-bestand.
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)
Parameters
- message
- String
Het bericht dat moet worden weergegeven aan de eindgebruiker.
- helpUrl
- String
Het Help-bestand dat moet worden weergegeven als de gebruiker om hulp vraagt.
Van toepassing op
WarningException(String, String, String)
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
- Bron:
- WarningException.cs
Initialiseert een nieuw exemplaar van de WarningException klasse met het opgegeven bericht en met toegang tot het opgegeven Help-bestand en -onderwerp.
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)
Parameters
- message
- String
Het bericht dat moet worden weergegeven aan de eindgebruiker.
- helpUrl
- String
Het Help-bestand dat moet worden weergegeven als de gebruiker om hulp vraagt.
- helpTopic
- String
Het Help-onderwerp dat moet worden weergegeven als de gebruiker om hulp vraagt.