ProviderException ProviderException ProviderException ProviderException Constructors

Definition

Overloads

ProviderException() ProviderException() ProviderException()

Creates a new instance of the ProviderException class.

ProviderException(String) ProviderException(String) ProviderException(String) ProviderException(String)

Creates a new instance of the ProviderException class.

ProviderException(SerializationInfo, StreamingContext) ProviderException(SerializationInfo, StreamingContext) ProviderException(SerializationInfo, StreamingContext) ProviderException(SerializationInfo, StreamingContext)

Creates a new instance of the ProviderException class.

ProviderException(String, Exception) ProviderException(String, Exception) ProviderException(String, Exception) ProviderException(String, Exception)

Creates a new instance of the ProviderException class.

ProviderException() ProviderException() ProviderException()

Creates a new instance of the ProviderException class.

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

ProviderException(String) ProviderException(String) ProviderException(String) ProviderException(String)

Creates a new instance of the ProviderException class.

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)

Parameters

message
String String String String

A message describing why this ProviderException was thrown.

ProviderException(SerializationInfo, StreamingContext) ProviderException(SerializationInfo, StreamingContext) ProviderException(SerializationInfo, StreamingContext) ProviderException(SerializationInfo, StreamingContext)

Creates a new instance of the ProviderException class.

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

Parameters

info
SerializationInfo SerializationInfo SerializationInfo SerializationInfo

The object that holds the information to deserialize.

context
StreamingContext StreamingContext StreamingContext StreamingContext

Contextual information about the source or destination.

ProviderException(String, Exception) ProviderException(String, Exception) ProviderException(String, Exception) ProviderException(String, Exception)

Creates a new instance of the ProviderException class.

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)

Parameters

message
String String String String

A message describing why this ProviderException was thrown.

innerException
Exception Exception Exception Exception

The exception that caused this ProviderException to be thrown.

Applies to