ApplyMetadataFailedEventArgs Constructor
Initializes a new instance of the ApplyMetadataFailedEventArgs class by using data row, exception, session, context, connection, and transaction parameters.
Assembly: Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)
public:
ApplyMetadataFailedEventArgs(
DataRow^ change,
Exception^ error,
DbSyncSession^ session,
DbSyncContext^ context,
IDbConnection^ connection,
IDbTransaction^ transaction
)
Parameters
- change
- Type: System.Data::DataRow
A DataRow object that contains the data row where the error occurred.
- error
- Type: System::Exception
An Exception object that contains metadata about any exceptions that occurred during synchronization.
- session
- Type: Microsoft.Synchronization.Data::DbSyncSession
A DbSyncSession object that contains metadata about the current synchronization session.
- context
- Type: Microsoft.Synchronization.Data::DbSyncContext
A DbSyncContext object that contains data changes, anchor values, and other metadata for a synchronization session.
- connection
- Type: System.Data::IDbConnection
An IDbConnection object that contains a connection to the peer database.
- transaction
- Type: System.Data::IDbTransaction
An IDbTransaction object that contains the transaction within which changes to metadata were attempted.
| Exception | Condition |
|---|---|
| ArgumentNullException | change, session, or context is a nullptr. |
Show: