IndexSchema Constructor (IEnumerable<String>, Boolean)
Initializes a new instance of the IndexSchema class that contains the specified list of indexed field names and a value that indicates whether the index schema uniquely defines an item.
Assembly: Microsoft.Synchronization.MetadataStorage (in Microsoft.Synchronization.MetadataStorage.dll)
Parameters
- fieldNames
- Type: System.Collections.Generic::IEnumerable<String>
The list of indexed field names.
- isUnique
- Type: System::Boolean
true if this index schema uniquely identifies an item; otherwise, false.
| Exception | Condition |
|---|---|
| ArgumentNullException | Any name in fieldNames is a nullptr. |
| ArgumentException | Any name in fieldNames is 0 length. |
| ArgumentOutOfRangeException | fieldNames is 0 length. |
Show: