Alternative for GetAutomation() in the LyncClient

Hi,

We are developing an Lync client application, in this we need to dial a number to outside number the below code works fine when we are not using UI Suppression

LyncClient lyncClient = LyncClient.GetClient();
 var automation = LyncClient.GetAutomation();
 var conversationModes = AutomationModalities.Audio;
 var conversationSettings = new Dictionary<AutomationModalitySettings, object>();
 List<string> participants = new List<string>();
 var contact = lyncClient.ContactManager.GetContactByUri("tel:" + _TelephoneNumber);
 participants.Add(contact.Uri);
 automation.BeginStartConversation(AutomationModalities.Audio, participants, null, null, automation);

The same code while we are running the application in UI Suppression mode LyncClient.GetAutomation() throwing an error "Exception from HRESULT: 0x80C8000B". In forums found that GetAutomation() will not work in UISuppression mode. Is there any alternative way to achieve this functionality if so could anyone provide us sample code.

Thanks and Regards,

Dinesh Haraveer

March 18th, 2014 12:50pm

You question is related with Lync client development, please post you question in the following forum:

http://social.msdn.microsoft.com/Forums/lync/en-US/home?forum=communicatorsdk

You can get a better response.

Free Windows Admin Tool Kit Click here and download it now
March 19th, 2014 7:07am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics