PollingListProvider<TBusinessObject> Constructor (TimeSpan, IEqualityComparer<TBusinessObject>)
Initializes a new instance of the PollingListProvider<TBusinessObject> class with the specified TimeSpan object and the specified IEqualityComparer<T> object.
Namespace: Microsoft.WindowsServerSolutions.Administration.ObjectModel
Assembly: Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)
Syntax
protected PollingListProvider(
TimeSpan pollingInterval,
IEqualityComparer<TBusinessObject> comparer
)
protected:
PollingListProvider(
TimeSpan pollingInterval,
IEqualityComparer<TBusinessObject>^ comparer
)
Protected Sub New (
pollingInterval As TimeSpan,
comparer As IEqualityComparer(Of TBusinessObject)
)
Parameters
pollingInterval
Type: System.TimeSpanThe TimeSpan object that defines the interval that will be used to poll for changes to data.
comparer
Type: System.Collections.Generic.IEqualityComparer<TBusinessObject>The IEqualityComparer<T> that is used to check for equality of business objects.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | comparer is null. |
Remarks
TBusinessObject represents a business object that encapsulates information and methods that relate to business data or business functionality. The information in the business object is exposed as properties.
See Also
PollingListProvider<TBusinessObject> Overload
PollingListProvider<TBusinessObject> Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel Namespace
Return to top