Editare

Partajați prin


ProviderIncompatibleException Constructors

Definition

Initializes a new instance of ProviderIncompatibleException.

Overloads

ProviderIncompatibleException()

Initializes a new instance of ProviderIncompatibleException.

ProviderIncompatibleException(String)

Initializes a new instance of ProviderIncompatibleException with a specialized error message.

ProviderIncompatibleException(String, Exception)

Initializes a new instance of ProviderIncompatibleException that uses a specified error message.

Remarks

For more information about how to handle exceptions in your code, see Exception.

ProviderIncompatibleException()

Initializes a new instance of ProviderIncompatibleException.

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

Remarks

For more information about how to handle exceptions in your code, see Exception.

Applies to

ProviderIncompatibleException(String)

Initializes a new instance of ProviderIncompatibleException with a specialized error message.

public:
 ProviderIncompatibleException(System::String ^ message);
public ProviderIncompatibleException (string message);
new System.Data.ProviderIncompatibleException : string -> System.Data.ProviderIncompatibleException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Remarks

For more information about how to handle exceptions in your code, see Exception.

Applies to

ProviderIncompatibleException(String, Exception)

Initializes a new instance of ProviderIncompatibleException that uses a specified error message.

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

Parameters

message
String

The message that describes the error.

innerException
Exception

The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.

Remarks

For more information about how to handle exceptions in your code, see Exception.

Applies to