Click or drag to resize
ContactInfoObjectQueryExtensionsNotBouncedTQuery Method (TQuery, String, Boolean, Int32)
Filters out contacts whose email address is unreachable (it has bounced more than bouncedEmailsLimit times). Subscribers blocked manually by administrator are filtered out as well. The column which stores number of bounces has to be specified in columnName parameter, because each object which stores bounces count has differently named column.

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 12.0.0
Syntax
C#
public static TQuery NotBounced<TQuery>(
	this TQuery whereCondition,
	string columnName,
	bool monitorBouncedEmails,
	int bouncedEmailsLimit
)
where TQuery : Object, IWhereCondition<TQuery>

Parameters

whereCondition
Type: TQuery
Condition which will be changed to include where clause filtering out bounced subscribers
columnName
Type: SystemString
Name of the column which stores number of times the email of the subscriber bounced (e.g. SubscriberBounces, ContactBounces)
monitorBouncedEmails
Type: SystemBoolean
If true, bounces will be checked against the bouncedEmailsLimit parameter. Otherwise, only subscribers blocked via UI will be filtered out (as if bouncedEmailsLimit was 0).
bouncedEmailsLimit
Type: SystemInt32
Limit of bounces which are allowed. If 0, only subscribers blocked via UI will be filtered out.

Type Parameters

TQuery
Type of the query

Return Value

Type: TQuery
IWhereCondition with additional filter

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type . When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also