Dela via


IdentityRule Constructor

Initializes a new instance of the IdentityRule class that contains a collection of integer field IDs to identify an item.

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

Syntax

'Declaration
Public Sub New ( _
    identityFieldIds As IEnumerable(Of UInteger) _
)
'Usage
Dim identityFieldIds As IEnumerable(Of UInteger)

Dim instance As New IdentityRule(identityFieldIds)
public IdentityRule(
    IEnumerable<uint> identityFieldIds
)
public:
IdentityRule(
    IEnumerable<unsigned int>^ identityFieldIds
)
new : 
        identityFieldIds:IEnumerable<uint32> -> IdentityRule
public function IdentityRule(
    identityFieldIds : IEnumerable<uint>
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

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

ArgumentOutOfRangeException

identityFieldIds contained no more identity field IDs.

See Also

Reference

IdentityRule Class

Microsoft.Synchronization.SimpleProviders Namespace