Share via


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

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.

See Also

Reference

CombinedFilterInfo Class

Microsoft.Synchronization Namespace