StrongTypingException Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy StrongTypingException.

Przeciążenia

Nazwa Opis
StrongTypingException()

Inicjuje nowe wystąpienie klasy StrongTypingException.

StrongTypingException(String)

Inicjuje nowe wystąpienie StrongTypingException klasy przy użyciu określonego ciągu.

StrongTypingException(SerializationInfo, StreamingContext)
Przestarzałe.

Inicjuje nowe wystąpienie StrongTypingException klasy przy użyciu określonych informacji o serializacji i kontekstu przesyłania strumieniowego.

StrongTypingException(String, Exception)

Inicjuje nowe wystąpienie StrongTypingException klasy z określonym ciągiem i wyjątkiem wewnętrznym.

StrongTypingException()

Źródło:
StrongTypingException.cs
Źródło:
StrongTypingException.cs
Źródło:
StrongTypingException.cs
Źródło:
StrongTypingException.cs
Źródło:
StrongTypingException.cs

Inicjuje nowe wystąpienie klasy StrongTypingException.

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

Uwagi

Klasa StrongTypingException nie jest przeznaczona do użycia jako składnik autonomiczny, ale jako klasa, z której inne klasy uzyskują standardowe funkcje.

Dotyczy

StrongTypingException(String)

Źródło:
StrongTypingException.cs
Źródło:
StrongTypingException.cs
Źródło:
StrongTypingException.cs
Źródło:
StrongTypingException.cs
Źródło:
StrongTypingException.cs

Inicjuje nowe wystąpienie StrongTypingException klasy przy użyciu określonego ciągu.

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

Ciąg do wyświetlenia po wystąpieniu wyjątku.

Uwagi

Klasa StrongTypingException nie jest przeznaczona do użycia jako składnik autonomiczny, ale jako klasa, z której inne klasy uzyskują standardowe funkcje.

Dotyczy

StrongTypingException(SerializationInfo, StreamingContext)

Źródło:
StrongTypingException.cs
Źródło:
StrongTypingException.cs
Źródło:
StrongTypingException.cs
Źródło:
StrongTypingException.cs
Źródło:
StrongTypingException.cs

Uwaga

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

Inicjuje nowe wystąpienie StrongTypingException klasy przy użyciu określonych informacji o serializacji i kontekstu przesyłania strumieniowego.

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 .

Atrybuty

Uwagi

Klasa StrongTypingException nie jest przeznaczona do użycia jako składnik autonomiczny, ale jako klasa, z której inne klasy uzyskują standardowe funkcje.

Dotyczy

StrongTypingException(String, Exception)

Źródło:
StrongTypingException.cs
Źródło:
StrongTypingException.cs
Źródło:
StrongTypingException.cs
Źródło:
StrongTypingException.cs
Źródło:
StrongTypingException.cs

Inicjuje nowe wystąpienie StrongTypingException klasy z określonym ciągiem i wyjątkiem wewnętrznym.

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

Ciąg do wyświetlenia po wystąpieniu wyjątku.

innerException
Exception

Odwołanie do wyjątku wewnętrznego.

Uwagi

Klasa StrongTypingException nie jest przeznaczona do użycia jako składnik autonomiczny, ale jako klasa, z której inne klasy uzyskują standardowe funkcje.

Dotyczy