WarningException Konstruktorok
Definíció
Fontos
Egyes információk olyan, kiadás előtti termékekre vonatkoznak, amelyek a kiadásig még jelentősen módosulhatnak. A Microsoft nem vállal kifejezett vagy törvényi garanciát az itt megjelenő információért.
Inicializálja a WarningException osztály új példányát.
Túlterhelések
| Name | Description |
|---|---|
| WarningException() |
Inicializálja a WarningException osztály új példányát. |
| WarningException(String) |
Inicializálja az osztály új példányát WarningException a megadott üzenettel és súgófájl nélkül. |
| WarningException(SerializationInfo, StreamingContext) |
Elavult.
Inicializálja az osztály új példányát a WarningException megadott szerializálási adatok és környezet használatával. |
| WarningException(String, Exception) |
Inicializálja az WarningException osztály új példányát a megadott részletes leírással és a megadott kivétellel. |
| WarningException(String, String) |
Inicializálja az WarningException osztály új példányát a megadott üzenettel és a megadott súgófájlhoz való hozzáféréssel. |
| WarningException(String, String, String) |
Inicializálja az WarningException osztály új példányát a megadott üzenettel, valamint a megadott súgófájlhoz és témakörhöz való hozzáféréssel. |
WarningException()
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
Inicializálja a WarningException osztály új példányát.
public:
WarningException();
public WarningException();
Public Sub New ()
A következőre érvényes:
WarningException(String)
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
Inicializálja az osztály új példányát WarningException a megadott üzenettel és súgófájl nélkül.
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)
Paraméterek
- message
- String
A végfelhasználónak megjelenítendő üzenet.
A következőre érvényes:
WarningException(SerializationInfo, StreamingContext)
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
Figyelemfelhívás
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
Inicializálja az osztály új példányát a WarningException megadott szerializálási adatok és környezet használatával.
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)
Paraméterek
- info
- SerializationInfo
A SerializationInfo deszerializáláshoz használandó.
- context
- StreamingContext
A deszerializáláshoz használandó célhely.
- Attribútumok
A következőre érvényes:
WarningException(String, Exception)
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
Inicializálja az WarningException osztály új példányát a megadott részletes leírással és a megadott kivétellel.
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)
Paraméterek
- message
- String
A hiba részletes leírása.
- innerException
- Exception
A kivétel okaként a belső kivételre mutató hivatkozás.
A következőre érvényes:
WarningException(String, String)
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
Inicializálja az WarningException osztály új példányát a megadott üzenettel és a megadott súgófájlhoz való hozzáféréssel.
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)
Paraméterek
- message
- String
A végfelhasználónak megjelenítendő üzenet.
- helpUrl
- String
Az a súgófájl, amely akkor jelenik meg, ha a felhasználó segítséget kér.
A következőre érvényes:
WarningException(String, String, String)
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
- Forrás:
- WarningException.cs
Inicializálja az WarningException osztály új példányát a megadott üzenettel, valamint a megadott súgófájlhoz és témakörhöz való hozzáféréssel.
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)
Paraméterek
- message
- String
A végfelhasználónak megjelenítendő üzenet.
- helpUrl
- String
Az a súgófájl, amely akkor jelenik meg, ha a felhasználó segítséget kér.
- helpTopic
- String
Az a súgótémakör, amely megjeleníti, ha a felhasználó segítséget kér.