Bagikan melalui


ProviderException Konstruktor

Definisi

Membuat instans ProviderException baru kelas.

Overload

ProviderException()

Membuat instans ProviderException baru kelas.

ProviderException(String)

Membuat instans ProviderException baru kelas.

ProviderException(SerializationInfo, StreamingContext)
Kedaluwarsa.

Membuat instans ProviderException baru kelas.

ProviderException(String, Exception)

Membuat instans ProviderException baru kelas.

ProviderException()

Sumber:
ProviderException.cs
Sumber:
ProviderException.cs
Sumber:
ProviderException.cs

Membuat instans ProviderException baru kelas.

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

Berlaku untuk

ProviderException(String)

Sumber:
ProviderException.cs
Sumber:
ProviderException.cs
Sumber:
ProviderException.cs

Membuat instans ProviderException baru kelas.

public:
 ProviderException(System::String ^ message);
public ProviderException (string message);
new System.Configuration.Provider.ProviderException : string -> System.Configuration.Provider.ProviderException
Public Sub New (message As String)

Parameter

message
String

Sebuah pesan yang menjelaskan mengapa ini ProviderException dilemparkan.

Berlaku untuk

ProviderException(SerializationInfo, StreamingContext)

Sumber:
ProviderException.cs
Sumber:
ProviderException.cs
Sumber:
ProviderException.cs

Perhatian

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

Membuat instans ProviderException baru kelas.

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

Parameter

info
SerializationInfo

Objek yang menyimpan informasi untuk deserialisasi.

context
StreamingContext

Informasi kontekstual tentang sumber atau tujuan.

Atribut

Berlaku untuk

ProviderException(String, Exception)

Sumber:
ProviderException.cs
Sumber:
ProviderException.cs
Sumber:
ProviderException.cs

Membuat instans ProviderException baru kelas.

public:
 ProviderException(System::String ^ message, Exception ^ innerException);
public ProviderException (string message, Exception innerException);
new System.Configuration.Provider.ProviderException : string * Exception -> System.Configuration.Provider.ProviderException
Public Sub New (message As String, innerException As Exception)

Parameter

message
String

Sebuah pesan yang menjelaskan mengapa ini ProviderException dilemparkan.

innerException
Exception

Pengecualian yang menyebabkan ini ProviderException dilemparkan.

Berlaku untuk