Compartilhar via


ApplyChangeFailedEventArgs Constructor

Initializes a new instance of the ApplyChangeFailedEventArgs class by using table metadata, conflict, error, session, context, connection, and transaction parameters.

Namespace: Microsoft.Synchronization.Data
Assembly: Microsoft.Synchronization.Data (in microsoft.synchronization.data.dll)

Syntax

'Declaration
Public Sub New ( _
    tableMetadata As SyncTableMetadata, _
    syncConflict As SyncConflict, _
    error As Exception, _
    syncSession As SyncSession, _
    syncContext As SyncContext, _
    connection As IDbConnection, _
    transaction As IDbTransaction _
)
public ApplyChangeFailedEventArgs (
    SyncTableMetadata tableMetadata,
    SyncConflict syncConflict,
    Exception error,
    SyncSession syncSession,
    SyncContext syncContext,
    IDbConnection connection,
    IDbTransaction transaction
)
public:
ApplyChangeFailedEventArgs (
    SyncTableMetadata^ tableMetadata, 
    SyncConflict^ syncConflict, 
    Exception^ error, 
    SyncSession^ syncSession, 
    SyncContext^ syncContext, 
    IDbConnection^ connection, 
    IDbTransaction^ transaction
)
public ApplyChangeFailedEventArgs (
    SyncTableMetadata tableMetadata, 
    SyncConflict syncConflict, 
    Exception error, 
    SyncSession syncSession, 
    SyncContext syncContext, 
    IDbConnection connection, 
    IDbTransaction transaction
)
public function ApplyChangeFailedEventArgs (
    tableMetadata : SyncTableMetadata, 
    syncConflict : SyncConflict, 
    error : Exception, 
    syncSession : SyncSession, 
    syncContext : SyncContext, 
    connection : IDbConnection, 
    transaction : IDbTransaction
)

Parameters

  • tableMetadata
    A SyncTableMetaData object that contains metadata, such as the direction of synchronization.
  • syncConflict
    A SyncConflict object that contains metadata about any conflicts that occurred during synchronization.
  • error
    An Exception object that contains metadata about any exceptions that occurred during synchronization.
  • syncSession
    A SyncSession object that contains metadata about the current synchronization session.
  • syncContext
    A SyncContext object that contains data changes, and anchor values and other metadata for a synchronization session.
  • connection
    An IDbConnection object that contains a connection to the client or server database.
  • transaction
    An IDbTransaction object that contains the transaction within which changes to tables were attempted.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements (Synchronization Services).

Target Platforms

See Also

Reference

ApplyChangeFailedEventArgs Class
ApplyChangeFailedEventArgs Members
Microsoft.Synchronization.Data Namespace