Developer Documentation Library > Dialer SDK > Testing > Interview simulator > GetSpecificContact (Interview simulator method)
 
GetSpecificContact (Interview simulator method)
Syntax
GetSpecificContact(SampleFieldsXml As String, FailOver As Boolean, Review As Boolean)
Type
Method
Parameters
SampleFieldsXml
The sample fields to be used for selection criteria as XML
FailOver
Indicates if the contact is being selected as part of failover testing.
Review
Indicates if the contact is being selected for review.
Return value
None
Description
Gets the next contact using ISessionEngine.GetNewSampleRecordWithCriteria() which calls ISampleManagementProvider.Get(). The contact is not returned but the SessionEngine does have a contact at this point.
Remarks
Example SampleFieldsXml:
<SampleFields>
  <SampleField>
    <name>ID</name>
    <value>ID1</value>
  </SampleField>
</SampleFields>
The sample record is available from the SampleId and SampleRecordXml properties. This record should be returned without being dialed. Using this method would be a good way of testing preview/manual dial.
See also
RunInterview (FUTURE)
RunAudioOperation (Interview simulator method)
ReturnContact (Interview simulator method)
DialContact (Interview simulator method)
Hangup (Interview simulator method)
GetCallStatus (Interview simulator method)
LogOnSupervisor (Interview simulator method)
StartMonitoring (Interview simulator method)
StopMonitoring (Interview simulator method)
GetDialerActivity (Interview simulator method)
Interview simulator