Udostępnij za pośrednictwem


DbApplyChangeFailedEventArgs Members

Provides data for the ApplyChangeFailed event.

The following tables list the members exposed by the DbApplyChangeFailedEventArgs type.

Public Constructors

  Name Description
Public method DbApplyChangeFailedEventArgs Initializes a new instance of the DbApplyChangeFailedEventArgs class by using table metadata, conflict, error, session, context, connection, and transaction parameters.

Top

Public Properties

  Name Description
Public property Action Gets or sets a ApplyAction enumeration value that specifies the action to handle the conflict.
Public property Conflict Gets a DbSyncConflict object that contains data and metadata for the row being applied and for the existing row in the database that caused the failure.
Public property Connection Gets an IDbConnection object for the connection over which changes were tried during synchronization.
Public property Context Gets a DbSyncContext object that contains data changes, anchor values, and other metadata for a synchronization session.
Public property Error Gets an Exception object that contains metadata about any exceptions that occurred during synchronization.
Public property Session Gets a DbSyncSession object that contains synchronization session variables, such as the ID of the peer that is synchronizing.
Public property Transaction Gets or sets an IDbTransaction object that contains the transaction within which changes to tables were tried.

Top

Public Methods

(see also Protected Methods )

  Name Description
Public method Equals  Overloaded. (Inherited from Object.)
Public method GetHashCode  (Inherited from Object.)
Public method GetType  (Inherited from Object.)
Public method Cc807318.static(en-us,SQL.105).gif ReferenceEquals  (Inherited from Object.)
Public method ToString  (Inherited from Object.)

Top

Protected Methods

  Name Description
Protected method Finalize  (Inherited from Object.)
Protected method MemberwiseClone  (Inherited from Object.)

Top

See Also

Reference

DbApplyChangeFailedEventArgs Class
Microsoft.Synchronization.Data Namespace