Export (0) Print
Expand All

DBConcurrencyException Constructor (String, Exception)

Initializes a new instance of the DBConcurrencyException class.

Namespace:  System.Data
Assembly:  System.Data (in System.Data.dll)

public DBConcurrencyException(
	string message,
	Exception inner
)

Parameters

message
Type: System.String

The text string describing the details of the exception.

inner
Type: System.Exception

A reference to an inner exception.

You can create a new exception that catches an earlier exception. The code that handles the second exception can use the additional information from the earlier exception, also called an inner exception, to examine the cause of the initial error.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

XNA Framework

Supported in: 3.0, 2.0, 1.0
Show:
© 2015 Microsoft