HostAbortedException Konstruktorer
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Överlagringar
| Name | Description |
|---|---|
| HostAbortedException() |
Initierar en ny instans av klassen med ett felmeddelande som tillhandahålls av HostAbortedException systemet. |
| HostAbortedException(String) |
Initierar en ny instans av HostAbortedException klassen med ett angivet felmeddelande. |
| HostAbortedException(String, Exception) |
Initierar en ny instans av HostAbortedException klassen med ett angivet felmeddelande och en referens till det inre undantaget som är orsaken till det här undantaget. |
HostAbortedException()
- Källa:
- HostAbortedException.cs
- Källa:
- HostAbortedException.cs
- Källa:
- HostAbortedException.cs
- Källa:
- HostAbortedException.cs
Initierar en ny instans av klassen med ett felmeddelande som tillhandahålls av HostAbortedException systemet.
public:
HostAbortedException();
public HostAbortedException();
Public Sub New ()
Gäller för
HostAbortedException(String)
- Källa:
- HostAbortedException.cs
- Källa:
- HostAbortedException.cs
- Källa:
- HostAbortedException.cs
- Källa:
- HostAbortedException.cs
Initierar en ny instans av HostAbortedException klassen med ett angivet felmeddelande.
public:
HostAbortedException(System::String ^ message);
public HostAbortedException(string? message);
new Microsoft.Extensions.Hosting.HostAbortedException : string -> Microsoft.Extensions.Hosting.HostAbortedException
Public Sub New (message As String)
Parametrar
- message
- String
Felmeddelandet som förklarar orsaken till undantaget.
Kommentarer
Innehållet message i är avsett att förstås av människor. Anroparen för den här konstruktorn krävs för att säkerställa att den här strängen har lokaliserats för den aktuella systemkulturen.
Gäller för
HostAbortedException(String, Exception)
- Källa:
- HostAbortedException.cs
- Källa:
- HostAbortedException.cs
- Källa:
- HostAbortedException.cs
- Källa:
- HostAbortedException.cs
Initierar en ny instans av HostAbortedException klassen med ett angivet felmeddelande och en referens till det inre undantaget som är orsaken till det här undantaget.
public:
HostAbortedException(System::String ^ message, Exception ^ innerException);
public HostAbortedException(string? message, Exception? innerException);
new Microsoft.Extensions.Hosting.HostAbortedException : string * Exception -> Microsoft.Extensions.Hosting.HostAbortedException
Public Sub New (message As String, innerException As Exception)
Parametrar
- message
- String
Felmeddelandet som förklarar orsaken till undantaget.
- innerException
- Exception
Undantaget som är orsaken till det aktuella undantaget.
Kommentarer
Innehållet message i är avsett att förstås av människor. Anroparen för den här konstruktorn krävs för att säkerställa att den här strängen har lokaliserats för den aktuella systemkulturen.