I use lync Sdk to dock a Lync conversation in my own wfp application. The problem is that when I try to execute the dock as follows:
public void Dock(Conversation conversation, IntPtr host) { try { ConversationWindow window = _automation.GetConversationWindow(conversation); if (window.State == ConversationWindowState.Initialized) { window.Dock(host); } } catch (Exception ex) { } }
once a window. The change in state between the scan and docking and on windows 8 the generated exception does not seem to be perceptible and causes my application to crash when the exception is simply caught in Windows 7.
The exception is of type Microsoft.Lync.Model.NotInitializedException
c # windows-8 try-catch lync-client-sdk
user1098580
source share