dotmailer SDK: dotMailer.Sdk.Contacts.Importing.ImportWatcher Class Reference

dotmailer SDK

dotmailer SDK
Tools to access and manage an account in the dotMailer system
dotMailer.Sdk.Contacts.Importing.ImportWatcher Class Reference

Helper class that watches an import result to be completed More...

Inheritance diagram for dotMailer.Sdk.Contacts.Importing.ImportWatcher:

Public Member Functions

 ImportWatcher (DmService api, ImportContactResult result)
 Constructor
 
 ImportWatcher (DmService api, ImportContactResult result, TimeSpan watchInterval)
 Constructor
 
ImportContactResult Watch ()
 Starts the watch - blocks until the import result is completed
 
void CancelWatch ()
 Cancels the watch
 

Protected Member Functions

override void DisposeManagedResources ()
 Closes the events
 

Detailed Description

Helper class that watches an import result to be completed

Constructor & Destructor Documentation

dotMailer.Sdk.Contacts.Importing.ImportWatcher.ImportWatcher ( DmService  api,
ImportContactResult  result 
)

Constructor

Parameters
api
result
dotMailer.Sdk.Contacts.Importing.ImportWatcher.ImportWatcher ( DmService  api,
ImportContactResult  result,
TimeSpan  watchInterval 
)

Constructor

Parameters
api
result
watchInterval

Member Function Documentation

void dotMailer.Sdk.Contacts.Importing.ImportWatcher.CancelWatch ( )

Cancels the watch

override void dotMailer.Sdk.Contacts.Importing.ImportWatcher.DisposeManagedResources ( )
protected

Closes the events

ImportContactResult dotMailer.Sdk.Contacts.Importing.ImportWatcher.Watch ( )

Starts the watch - blocks until the import result is completed

Returns
Generated by   doxygen 1.8.3