Using the UCMA 4.0 Async Extension Methods

To use the extension methods, first add a reference to the LyncAsyncExtensionMethods project from your own project. You will also need to add

using LyncAsyncExtensionMethods;

at the top of each code file where you want to use the extension methods.

Once this is done, you can use the await keyword in conjunction with the extension methods to perform asynchronous operations in UCMA. For example, to establish an A/V call, you can use code like the following:

await avCall.EstablishAsync(_destinationSipUri, callEstablishOptions);

For more details, see http://blog.greenl.ee/2012/08/30/multi-threading-techniques-ucma-4-0/.

Last edited Oct 26, 2012 at 3:23 PM by mgreenlee, version 2

Comments

No comments yet.