Domanda

I'm new for Lync client 2010 SDK integration. Since I don't want to display Lync UI (we will develop our own UIs), I set the registry to make UISuppressionMode = 1(DWORD). But lyncClient.GetClient() throws ClientNotFoundException exception. Can anyone tell me what's wrong with this? Thanks a lot.

È stato utile?

Soluzione

The problem could well be that the client isn't actually running, which is why it's not found.

When you're running in UISuppression mode, you're responsible for everything which the client normally does, such as starting up, shutting down, and signing in.

You have to start the Lync client using LyncClient.BeginInitialize - you can't just start it from the start menu. You should also call LyncClient.BeginShutdown when you're done. (ref: MSDN)

There's a good MSDN article on UI Suppression in Lync SDK here, and there's also a channel9 video on signing into Lync when UISuppresion mode is on.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top