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
- Changed type Lisa.zhengMicrosoft contingent staff, Moderator Wednesday, March 19, 2014 4:08 AM