Share via


ProviderException Oluşturucular

Tanım

ProviderException sınıfının yeni bir örneğini oluşturur.

Aşırı Yüklemeler

ProviderException()

ProviderException sınıfının yeni bir örneğini oluşturur.

ProviderException(String)

ProviderException sınıfının yeni bir örneğini oluşturur.

ProviderException(SerializationInfo, StreamingContext)
Geçersiz.

ProviderException sınıfının yeni bir örneğini oluşturur.

ProviderException(String, Exception)

ProviderException sınıfının yeni bir örneğini oluşturur.

ProviderException()

Kaynak:
ProviderException.cs
Kaynak:
ProviderException.cs
Kaynak:
ProviderException.cs

ProviderException sınıfının yeni bir örneğini oluşturur.

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

Şunlara uygulanır

ProviderException(String)

Kaynak:
ProviderException.cs
Kaynak:
ProviderException.cs
Kaynak:
ProviderException.cs

ProviderException sınıfının yeni bir örneğini oluşturur.

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)

Parametreler

message
String

Bunun ProviderException neden oluşturulduğu hakkında bir ileti.

Şunlara uygulanır

ProviderException(SerializationInfo, StreamingContext)

Kaynak:
ProviderException.cs
Kaynak:
ProviderException.cs
Kaynak:
ProviderException.cs

Dikkat

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

ProviderException sınıfının yeni bir örneğini oluşturur.

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)

Parametreler

info
SerializationInfo

Seri durumdan çıkarma bilgilerini tutan nesne.

context
StreamingContext

Kaynak veya hedef hakkında bağlamsal bilgiler.

Öznitelikler

Şunlara uygulanır

ProviderException(String, Exception)

Kaynak:
ProviderException.cs
Kaynak:
ProviderException.cs
Kaynak:
ProviderException.cs

ProviderException sınıfının yeni bir örneğini oluşturur.

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)

Parametreler

message
String

Bunun ProviderException neden oluşturulduğu hakkında bir ileti.

innerException
Exception

Bunun ProviderException neden olduğu özel durum.

Şunlara uygulanır