Constructs a DNC Record to be passed into one of the AddEntryToDNCTable functions. The combination of the phone number/exclusion identifier will not be dialed for the length of time passed into the dateTimeOffsetBeforeNextDial parameter. At least one of either the phoneNumber or exclusionIdentifier parameters are required and the dateTimeOffsetBeforeNextDial parameter is optional.

Namespace: ININ.IceLib.Configuration.Dialer
Assembly: ININ.IceLib.Dialer (in ININ.IceLib.Dialer.dll) Version: 0.0.0.0 (22.3.0.208)

Syntax

C#
public DNCRecord(
	string phoneNumber,
	string exclusionIdentifier,
	TimeSpan dateTimeOffsetBeforeNextDial
)
Visual Basic
Public Sub New ( _
	phoneNumber As String, _
	exclusionIdentifier As String, _
	dateTimeOffsetBeforeNextDial As TimeSpan _
)

Parameters

phoneNumber
Type: System..::..String
The phone number to add to the DNC table.
exclusionIdentifier
Type: System..::..String
The identifier to add to the DNC table. This field is meant to be used to identify the record at the account level, as opposed to the Phone Number level. When mixed, the DNC will apply to the combination of the account and phone number.
dateTimeOffsetBeforeNextDial
Type: System..::..TimeSpan
The amount of time in the future before the associated phone/account numbers may be dialed.

See Also