Export (0) Print
Expand All

Running UCMA Code in a Windows Workflow Application: Introduction (Part 1 of 4)

Summary:   Combine the capabilities of Microsoft Unified Communications Managed API (UCMA) and Windows Workflow Foundation. Part 1 lists the prerequisites and describes the workflow application scenario.

Applies to:   Microsoft Unified Communications Managed API (UCMA) 3.0 Core SDK | Windows Workflow Foundation

Published:   October 2011 | Provided by:   John Clarkson, Microsoft | About the Author

Contents

Download code   Download code

Watch video   See video

This is the first in a series of four articles about how to add a UCMA component to a workflow.

This article describes how to call Microsoft Unified Communications Managed API (UCMA) 3.0 code in a Windows Workflow Foundation 4 application.

  • One of the following editions of Microsoft Visual Studio development system: Visual Studio 2008 SP1 Standard Edition, Visual Studio 2008 SP1 Professional Edition, or Visual Studio 2008 SP1 Team Suite; Visual Basic 2008 Express Edition; Visual C# 2008 Express Edition; Visual Studio 2010 Professional, Premium, or Ultimate; Visual Basic 2010 Express, or Visual C# 2010 Express.

  • Microsoft Unified Communications Managed API (UCMA) 3.0 SDK.

  • Microsoft .NET Framework 3.5 SP1 or later service pack, and .NET Framework 4.

Important note Important

UCMA 3.0 requires Microsoft .NET Framework 3.5 SP1 or later service pack, although Windows Workflow Foundation 4 is part of the .NET Framework 4. The workaround is to create a solution with the UCMA 3.0 code segregated in a separate project using NET Framework 3.5. The following articles document the steps to create this application.

The Workflow application prompts the user to enter a 1 or 2. An If activity executes a Code activity that calls a method in the UCMA project. Depending on whether the user entered a 1 or 2, the application sends an instant message that uses the text “hello” or “goodbye.”

Figure 1. Application scenario

Application scenario

John Clarkson is a programming writer with the Microsoft Lync product team.

Show:
© 2014 Microsoft