ProviderException Konstruktorer

Definition

Skapar en ny instans av ProviderException klassen.

Överlagringar

Name Description
ProviderException()

Skapar en ny instans av ProviderException klassen.

ProviderException(String)

Skapar en ny instans av ProviderException klassen.

ProviderException(SerializationInfo, StreamingContext)
Föråldrad.

Skapar en ny instans av ProviderException klassen.

ProviderException(String, Exception)

Skapar en ny instans av ProviderException klassen.

ProviderException()

Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs

Skapar en ny instans av ProviderException klassen.

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

Gäller för

ProviderException(String)

Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs

Skapar en ny instans av ProviderException klassen.

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)

Parametrar

message
String

Ett meddelande som beskriver varför detta ProviderException utlöstes.

Gäller för

ProviderException(SerializationInfo, StreamingContext)

Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs

Varning

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

Skapar en ny instans av ProviderException klassen.

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);
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}")>]
new System.Configuration.Provider.ProviderException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Configuration.Provider.ProviderException
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)

Parametrar

info
SerializationInfo

Objektet som innehåller den information som ska deserialiseras.

context
StreamingContext

Sammanhangsberoende information om källan eller målet.

Attribut

Gäller för

ProviderException(String, Exception)

Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs
Källa:
ProviderException.cs

Skapar en ny instans av ProviderException klassen.

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)

Parametrar

message
String

Ett meddelande som beskriver varför detta ProviderException utlöstes.

innerException
Exception

Undantaget som gjorde att detta ProviderException utlöstes.

Gäller för