Compartir a través de


GenericDataAccessException Constructors

Definition

Overloads

GenericDataAccessException(Exception)

Initializes a new instance of the GenericDataAccessException class with the specified inner exception.

GenericDataAccessException(String)

Initializes a new instance of the GenericDataAccessException class with the specified error message.

GenericDataAccessException(String, Exception)

Initializes a new instance of the GenericDataAccessException class with the specified error message and inner exception.

GenericDataAccessException(Exception)

Initializes a new instance of the GenericDataAccessException class with the specified inner exception.

public:
 GenericDataAccessException(Exception ^ innerException);
public GenericDataAccessException (Exception innerException);
new Microsoft.Xrm.Sdk.Data.Exceptions.GenericDataAccessException : Exception -> Microsoft.Xrm.Sdk.Data.Exceptions.GenericDataAccessException
Public Sub New (innerException As Exception)

Parameters

innerException
Exception

The exception that is the cause of the current exception.

Applies to

GenericDataAccessException(String)

Initializes a new instance of the GenericDataAccessException class with the specified error message.

public:
 GenericDataAccessException(System::String ^ message);
public GenericDataAccessException (string message);
new Microsoft.Xrm.Sdk.Data.Exceptions.GenericDataAccessException : string -> Microsoft.Xrm.Sdk.Data.Exceptions.GenericDataAccessException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

GenericDataAccessException(String, Exception)

Initializes a new instance of the GenericDataAccessException class with the specified error message and inner exception.

public:
 GenericDataAccessException(System::String ^ message, Exception ^ innerException);
public GenericDataAccessException (string message, Exception innerException);
new Microsoft.Xrm.Sdk.Data.Exceptions.GenericDataAccessException : string * Exception -> Microsoft.Xrm.Sdk.Data.Exceptions.GenericDataAccessException
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.

Applies to