ApplyMetadataFailedEventArgs Class

Provides data for the ApplyMetadataFailed event.

Inheritance Hierarchy

System.Object
  System.EventArgs
    Microsoft.Synchronization.Data.ApplyMetadataFailedEventArgs

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

Syntax

'Declaration
Public Class ApplyMetadataFailedEventArgs _
    Inherits EventArgs
'Usage
Dim instance As ApplyMetadataFailedEventArgs
public class ApplyMetadataFailedEventArgs : EventArgs
public ref class ApplyMetadataFailedEventArgs : public EventArgs
type ApplyMetadataFailedEventArgs =  
    class
        inherit EventArgs
    end
public class ApplyMetadataFailedEventArgs extends EventArgs

The ApplyMetadataFailedEventArgs type exposes the following members.

Constructors

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

Top

Properties

  Name Description
Public property Change Gets the DataRow object that contains the data row where the error occurred.
Public property Connection Gets an IDbConnection object for the connection over which changes were attempted 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 RetryTransaction Gets or sets whether to retry the transaction or roll back and fail.
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 metadata were attempted.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.Synchronization.Data Namespace