DbSyncException Constructor (String, Exception)
Initializes a new instance of the DbSyncException class by using message and inner exception parameters.
Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
inner As Exception _
)
'Usage
Dim message As String
Dim inner As Exception
Dim instance As New DbSyncException(message, _
inner)
public DbSyncException(
string message,
Exception inner
)
public:
DbSyncException(
String^ message,
Exception^ inner
)
new :
message:string *
inner:Exception -> DbSyncException
public function DbSyncException(
message : String,
inner : Exception
)
Parameters
- message
Type: System.String
A description of the error.
- inner
Type: System.Exception
A wrapped exception from an external component.