Jazyk

StrongTypingException Konstruktory

Definice

Inicializuje novou instanci StrongTypingException třídy.

Přetížení

Name Description
StrongTypingException()

Inicializuje novou instanci StrongTypingException třídy.

StrongTypingException(String)

Inicializuje novou instanci StrongTypingException třídy se zadaným řetězcem.

StrongTypingException(SerializationInfo, StreamingContext)
Zastaralé.

Inicializuje novou instanci StrongTypingException třídy pomocí zadaných informací serializace a kontextu streamování.

StrongTypingException(String, Exception)

Inicializuje novou instanci StrongTypingException třídy se zadaným řetězcem a vnitřní výjimkou.

StrongTypingException()

Zdroj:
StrongTypingException.cs
Zdroj:
StrongTypingException.cs
Zdroj:
StrongTypingException.cs
Zdroj:
StrongTypingException.cs
Zdroj:
StrongTypingException.cs

Inicializuje novou instanci StrongTypingException třídy.

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

Poznámky

Třída StrongTypingException není určena k použití jako samostatná komponenta, ale jako třída, ze které ostatní třídy odvozují standardní funkce.

Platí pro

StrongTypingException(String)

Zdroj:
StrongTypingException.cs
Zdroj:
StrongTypingException.cs
Zdroj:
StrongTypingException.cs
Zdroj:
StrongTypingException.cs
Zdroj:
StrongTypingException.cs

Inicializuje novou instanci StrongTypingException třídy se zadaným řetězcem.

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)

Parametry

message
String

Řetězec, který se má zobrazit při vyvolání výjimky.

Poznámky

Třída StrongTypingException není určena k použití jako samostatná komponenta, ale jako třída, ze které ostatní třídy odvozují standardní funkce.

Platí pro

StrongTypingException(SerializationInfo, StreamingContext)

Zdroj:
StrongTypingException.cs
Zdroj:
StrongTypingException.cs
Zdroj:
StrongTypingException.cs
Zdroj:
StrongTypingException.cs
Zdroj:
StrongTypingException.cs

Upozornění

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

Inicializuje novou instanci StrongTypingException třídy pomocí zadaných informací serializace a kontextu streamování.

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)

Parametry

context
StreamingContext

Struktura StreamingContext .

Atributy

Poznámky

Třída StrongTypingException není určena k použití jako samostatná komponenta, ale jako třída, ze které ostatní třídy odvozují standardní funkce.

Platí pro

StrongTypingException(String, Exception)

Zdroj:
StrongTypingException.cs
Zdroj:
StrongTypingException.cs
Zdroj:
StrongTypingException.cs
Zdroj:
StrongTypingException.cs
Zdroj:
StrongTypingException.cs

Inicializuje novou instanci StrongTypingException třídy se zadaným řetězcem a vnitřní výjimkou.

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)

Parametry

s
String

Řetězec, který se má zobrazit při vyvolání výjimky.

innerException
Exception

Odkaz na vnitřní výjimku.

Poznámky

Třída StrongTypingException není určena k použití jako samostatná komponenta, ale jako třída, ze které ostatní třídy odvozují standardní funkce.

Platí pro