Share via


ApplyMetadataFailedEventArgs Constructor

Initializes a new instance of the ApplyMetadataFailedEventArgs class by using data row, exception, session, context, connection, and transaction parameters.

Namespace:  Microsoft.Synchronization.Data
Assembly:  Microsoft.Synchronization.Data (in Microsoft.Synchronization.Data.dll)

Syntax

'Declaration
Public Sub New ( _
    change As DataRow, _
    error As Exception, _
    session As DbSyncSession, _
    context As DbSyncContext, _
    connection As IDbConnection, _
    transaction As IDbTransaction _
)
'Usage
Dim change As DataRow
Dim error As Exception
Dim session As DbSyncSession
Dim context As DbSyncContext
Dim connection As IDbConnection
Dim transaction As IDbTransaction

Dim instance As New ApplyMetadataFailedEventArgs(change, _
    error, session, context, connection, _
    transaction)
public ApplyMetadataFailedEventArgs(
    DataRow change,
    Exception error,
    DbSyncSession session,
    DbSyncContext context,
    IDbConnection connection,
    IDbTransaction transaction
)
public:
ApplyMetadataFailedEventArgs(
    DataRow^ change, 
    Exception^ error, 
    DbSyncSession^ session, 
    DbSyncContext^ context, 
    IDbConnection^ connection, 
    IDbTransaction^ transaction
)
new : 
        change:DataRow * 
        error:Exception * 
        session:DbSyncSession * 
        context:DbSyncContext * 
        connection:IDbConnection * 
        transaction:IDbTransaction -> ApplyMetadataFailedEventArgs
public function ApplyMetadataFailedEventArgs(
    change : DataRow, 
    error : Exception, 
    session : DbSyncSession, 
    context : DbSyncContext, 
    connection : IDbConnection, 
    transaction : IDbTransaction
)

Parameters

  • error
    Type: System.Exception
    An Exception object that contains metadata about any exceptions that occurred during synchronization.

Exceptions

Exception Condition
ArgumentNullException

change, session, or context is a null reference (Nothing in Visual Basic).

See Also

Reference

ApplyMetadataFailedEventArgs Class

Microsoft.Synchronization.Data Namespace