Compartir vía


ProviderException Constructores

Definición

Crea una nueva instancia de la clase ProviderException.

Sobrecargas

ProviderException()

Crea una nueva instancia de la clase ProviderException.

ProviderException(String)

Crea una nueva instancia de la clase ProviderException.

ProviderException(SerializationInfo, StreamingContext)
Obsoletos.

Crea una nueva instancia de la clase ProviderException.

ProviderException(String, Exception)

Crea una nueva instancia de la clase ProviderException.

ProviderException()

Source:
ProviderException.cs
Source:
ProviderException.cs
Source:
ProviderException.cs

Crea una nueva instancia de la clase ProviderException.

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

Se aplica a

ProviderException(String)

Source:
ProviderException.cs
Source:
ProviderException.cs
Source:
ProviderException.cs

Crea una nueva instancia de la clase ProviderException.

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)

Parámetros

message
String

Mensaje que describe por qué se ha producido esta excepción ProviderException.

Se aplica a

ProviderException(SerializationInfo, StreamingContext)

Source:
ProviderException.cs
Source:
ProviderException.cs
Source:
ProviderException.cs

Precaución

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

Crea una nueva instancia de la clase ProviderException.

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)

Parámetros

info
SerializationInfo

Objeto que contiene la información que se va a deserializar.

context
StreamingContext

Información contextual acerca del origen o del destino.

Atributos

Se aplica a

ProviderException(String, Exception)

Source:
ProviderException.cs
Source:
ProviderException.cs
Source:
ProviderException.cs

Crea una nueva instancia de la clase ProviderException.

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)

Parámetros

message
String

Mensaje que describe por qué se ha producido esta excepción ProviderException.

innerException
Exception

Excepción que ha ocasionado que se produzca esta excepción ProviderException.

Se aplica a