ChangeApplicationServices Constructor

Initializes a new instance of the ChangeApplicationServices class by using the specified ID format schema, conflict resolution policy, and synchronization session context information.

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

Syntax

'Declaration
Public Sub New ( _
    idFormats As SyncIdFormatGroup, _
    conflictResolutionPolicy As ConflictResolutionPolicy, _
    syncSessionContext As SyncSessionContext _
)
'Usage
Dim idFormats As SyncIdFormatGroup
Dim conflictResolutionPolicy As ConflictResolutionPolicy
Dim syncSessionContext As SyncSessionContext

Dim instance As New ChangeApplicationServices(idFormats, conflictResolutionPolicy, syncSessionContext)
public ChangeApplicationServices (
    SyncIdFormatGroup idFormats,
    ConflictResolutionPolicy conflictResolutionPolicy,
    SyncSessionContext syncSessionContext
)
public:
ChangeApplicationServices (
    SyncIdFormatGroup^ idFormats, 
    ConflictResolutionPolicy conflictResolutionPolicy, 
    SyncSessionContext^ syncSessionContext
)
public ChangeApplicationServices (
    SyncIdFormatGroup idFormats, 
    ConflictResolutionPolicy conflictResolutionPolicy, 
    SyncSessionContext syncSessionContext
)
public function ChangeApplicationServices (
    idFormats : SyncIdFormatGroup, 
    conflictResolutionPolicy : ConflictResolutionPolicy, 
    syncSessionContext : SyncSessionContext
)

Parameters

  • idFormats
    The ID format schema of the provider.
  • conflictResolutionPolicy
    The conflict resolution policy that is used to resolve concurrency conflicts that occur during synchronization.
  • syncSessionContext
    Additional information about the synchronization session.

Exceptions

Exception type Condition

ArgumentNullException

idFormats is a null reference (Nothing in Visual Basic).

ArgumentOutOfRangeException

conflictResolutionPolicy is an invalid value.

See Also

Reference

ChangeApplicationServices Class
ChangeApplicationServices Members
Microsoft.Synchronization Namespace