Nyelv

StrongTypingException Konstruktorok

Definíció

Inicializálja a StrongTypingException osztály új példányát.

Túlterhelések

Name Description
StrongTypingException()

Inicializálja a StrongTypingException osztály új példányát.

StrongTypingException(String)

Inicializálja az osztály új példányát StrongTypingException a megadott sztringgel.

StrongTypingException(SerializationInfo, StreamingContext)
Elavult.

Inicializálja az osztály új példányát a StrongTypingException megadott szerializálási információk és streamelési környezet használatával.

StrongTypingException(String, Exception)

Inicializálja az osztály új példányát StrongTypingException a megadott sztringgel és belső kivétellel.

StrongTypingException()

Forrás:
StrongTypingException.cs
Forrás:
StrongTypingException.cs
Forrás:
StrongTypingException.cs
Forrás:
StrongTypingException.cs
Forrás:
StrongTypingException.cs

Inicializálja a StrongTypingException osztály új példányát.

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

Megjegyzések

Az StrongTypingException osztály nem önálló összetevőként, hanem olyan osztályként használható, amelyből más osztályok standard funkciókat nyernek.

A következőre érvényes:

StrongTypingException(String)

Forrás:
StrongTypingException.cs
Forrás:
StrongTypingException.cs
Forrás:
StrongTypingException.cs
Forrás:
StrongTypingException.cs
Forrás:
StrongTypingException.cs

Inicializálja az osztály új példányát StrongTypingException a megadott sztringgel.

public:
 StrongTypingException(System::String ^ message);
public StrongTypingException(string? message);
public StrongTypingException(string message);
new System.Data.StrongTypingException : string -> System.Data.StrongTypingException
Public Sub New (message As String)

Paraméterek

message
String

A kivétel megjelenésekor megjelenítendő sztring.

Megjegyzések

Az StrongTypingException osztály nem önálló összetevőként, hanem olyan osztályként használható, amelyből más osztályok standard funkciókat nyernek.

A következőre érvényes:

StrongTypingException(SerializationInfo, StreamingContext)

Forrás:
StrongTypingException.cs
Forrás:
StrongTypingException.cs
Forrás:
StrongTypingException.cs
Forrás:
StrongTypingException.cs
Forrás:
StrongTypingException.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 StrongTypingException megadott szerializálási információk és streamelési környezet használatával.

protected:
 StrongTypingException(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 StrongTypingException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
protected StrongTypingException(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.Data.StrongTypingException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Data.StrongTypingException
new System.Data.StrongTypingException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Data.StrongTypingException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Paraméterek

context
StreamingContext

Egy StreamingContext struktúra.

Attribútumok

Megjegyzések

Az StrongTypingException osztály nem önálló összetevőként, hanem olyan osztályként használható, amelyből más osztályok standard funkciókat nyernek.

A következőre érvényes:

StrongTypingException(String, Exception)

Forrás:
StrongTypingException.cs
Forrás:
StrongTypingException.cs
Forrás:
StrongTypingException.cs
Forrás:
StrongTypingException.cs
Forrás:
StrongTypingException.cs

Inicializálja az osztály új példányát StrongTypingException a megadott sztringgel és belső kivétellel.

public:
 StrongTypingException(System::String ^ s, Exception ^ innerException);
public StrongTypingException(string? s, Exception? innerException);
public StrongTypingException(string s, Exception innerException);
new System.Data.StrongTypingException : string * Exception -> System.Data.StrongTypingException
Public Sub New (s As String, innerException As Exception)

Paraméterek

s
String

A kivétel megjelenésekor megjelenítendő sztring.

innerException
Exception

Belső kivételre mutató hivatkozás.

Megjegyzések

Az StrongTypingException osztály nem önálló összetevőként, hanem olyan osztályként használható, amelyből más osztályok standard funkciókat nyernek.

A következőre érvényes: