CombinedFilterInfo Constructor
Initializes a new instance of the CombinedFilterInfo class that contains the specified filters and a value that indicates the way to combine them.
Namespace: Microsoft.Synchronization
Assembly: Microsoft.Synchronization (in Microsoft.Synchronization.dll)
Syntax
'Declaration
Public Sub New ( _
firstFilterInfo As FilterInfo, _
secondFilterInfo As FilterInfo, _
combinationType As FilterCombinationType _
)
'Usage
Dim firstFilterInfo As FilterInfo
Dim secondFilterInfo As FilterInfo
Dim combinationType As FilterCombinationType
Dim instance As New CombinedFilterInfo(firstFilterInfo, _
secondFilterInfo, combinationType)
public CombinedFilterInfo(
FilterInfo firstFilterInfo,
FilterInfo secondFilterInfo,
FilterCombinationType combinationType
)
public:
CombinedFilterInfo(
FilterInfo^ firstFilterInfo,
FilterInfo^ secondFilterInfo,
FilterCombinationType combinationType
)
new :
firstFilterInfo:FilterInfo *
secondFilterInfo:FilterInfo *
combinationType:FilterCombinationType -> CombinedFilterInfo
public function CombinedFilterInfo(
firstFilterInfo : FilterInfo,
secondFilterInfo : FilterInfo,
combinationType : FilterCombinationType
)
Parameters
- firstFilterInfo
Type: Microsoft.Synchronization.FilterInfo
Information about one of the filters to combine.
- secondFilterInfo
Type: Microsoft.Synchronization.FilterInfo
Information about the other filter to combine.
- combinationType
Type: Microsoft.Synchronization.FilterCombinationType
Indicates the way to combine firstFilterInfo and secondFilterInfo.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A required parameter is a null reference (Nothing in Visual Basic). |
ArgumentOutOfRangeException | combinationType is not Intersection. |
SyncIdFormatMismatchException | The ID format schema of firstFilterInfo differs from the ID format schema of secondFilterInfo. |