Udostępnij za pośrednictwem


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
)
public CombinedFilterInfo (
    FilterInfo firstFilterInfo, 
    FilterInfo secondFilterInfo, 
    FilterCombinationType combinationType
)
public function CombinedFilterInfo (
    firstFilterInfo : FilterInfo, 
    secondFilterInfo : FilterInfo, 
    combinationType : FilterCombinationType
)

Parameters

  • firstFilterInfo
    Information about one of the filters to combine.
  • secondFilterInfo
    Information about the other filter to combine.
  • combinationType
    Indicates the way to combine firstFilterInfo and secondFilterInfo.

Exceptions

Exception type 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
CombinedFilterInfo Members
Microsoft.Synchronization Namespace