Automation and Communication in COM for Signing In and Out in Microsoft Corporation

Automation and Communication in COM for Signing In and Out in Microsoft Corporation
paly

This blog post by Chris D Mayo from Microsoft Corporation explores the use of automation and communication in COM for signing in and out. It discusses the importance of context and presents insights on presence and efficient communication.

  • Uploaded on | 0 Views
  • stacey stacey

About Automation and Communication in COM for Signing In and Out in Microsoft Corporation

PowerPoint presentation about 'Automation and Communication in COM for Signing In and Out in Microsoft Corporation'. This presentation describes the topic on This blog post by Chris D Mayo from Microsoft Corporation explores the use of automation and communication in COM for signing in and out. It discusses the importance of context and presents insights on presence and efficient communication.. The key topics included in this slideshow are UNC301, Automation, Signing In Out, COM, Presence,. Download this presentation absolutely free.

Presentation Transcript


2. Chris D. Mayo Microsoft Corporation http://blogs.msdn.com/cmayo UNC301

5. Automation

6. Signing In/Out

7. COM

8. Presence

9. Communication

10. Context

11. What Next? 1. Resource Management 2. Managed Library 3. Sign In/Out 4. Presence 5. Contacts 6. Conversation 7. Context

12. URL! http://blogs.msdn.com/cmayo

13. Summary The Office Communicator Automation API makes building communications features easy Integrate contact presence to make communication decisions easy Integrate Click-to-Communicate to launch communications from your app Embed conversation context into communications to boot strap discussion

14. Resources MSDN Unified Communications Developer Portal http://msdn.microsoft.com/uc Microsoft Office Communicator Automation API http://www.microsoft.com/downloads/details.aspx?FamilyID=ed1cce45-cc22-46e1-bd50- 660fe6d2c98c&DisplayLang=en WPF Presence Controls for Microsoft Office Communicator 2007 - Microsoft Office Communicator 2007 SDK Sample http://www.microsoft.com/downloads/details.aspx?FamilyID=5001d612-533a-4721-91ea- da990d94ff0f&DisplayLang=en Enhanced Presence Whitepaper http://www.microsoft.com/downloads/details.aspx?FamilyId=DF0BA247-3884-43C7- A1E1-791D64B8BFA8&displaylang=en Microsoft Office Communications Server 2007 R2 Resource Kit http://www.microsoft.com/learning/en/us/Books/13113.aspx Programming for Unified Communications http://www.microsoft.com/learning/en/us/Books/12956.aspx Chris Mayos blog http://blogs.msdn.com/cmayo (API URLs, etc.)

15. http://blogs.msdn.com/cmayo

16. Questions and Answers Submit text questions using the Ask button Dont forget to fill out the survey The on-demand version of this webcast will be available 24 hours after the event Get the latest developer content (webcasts, podcasts, videos, virtual labs) at: www.microsoft.com/events/series/ Got webcast content ideas? Contact us at: http://go.microsoft.com/fwlink/?LinkId=41781

17. www.microsoft.com/teched Sessions On-Demand & Community http://microsoft.com/technet Resources for IT Professionals http://microsoft.com/msdn Resources for Developers www.microsoft.com/learning Microsoft Certification and Training R esources www.microsoft.com/learning Microsoft Certification & Training Resources Resources

18. Call to Action Learn More! Related Content at TechEd on Related Content Slide Attend in-person or consume post-event at TechEd Online Check out online learning/training resources http://technet.microsoft.com/exchange/2010 http://technet.microsoft.com/office/ocs Try It Out! Download the Exchange Server 2010 Beta Evaluation http://www.microsoft.com/exchange/2010/try-it Get a 5-Day Trial of Office Communications Server 2007 R2 https://r2.uctrial.com/

19. Complete an evaluation on CommNet and enter to win! Complete an evaluation on CommNet and enter to win!

21. What We Will Cover Office Communicator Automation API Beginning Scenarios Signing in/signing Out Local user/contact info Presence Contact list Starting conversations Advanced Scenarios Contextual conversations Summary Resources

22. Session Prerequisites Visual Studio 2008 .NET Framework 3.0+ C# VB Level 300 Level 300

23. Office Communicator Automation API Automates Office Communicator 2007/R2 Build Office Communicator 2007/R2 features into apps Provides Office Communicator 2007/R2 integration in Outlook 2007, SharePoint Requires Office Communicator 2007/R2 on local machine COM API Unmanaged resources require management

24. Signing In/Signing Out Automation requirements Office Communicator must be running Office Communicator must be signed in Messenger Methods SignIn() AutoSignin() SignOut() Messenger Events OnSignin() OnSignout() OnAppShutdown()

25. Signing In/Signing Out

26. Local User Info Messenger Properties MyFriendlyName MySigninName get_MyPhoneNumber Messenger Events OnMyFriendlyNameChange() OnMyPhoneChange()

27. Local User Info

28. Contact Info Messenger.GetContact() IMessengerContactAdvanced IMessengerContactAdvanced Properties FriendlyName SigninName get_PhoneNumber Messenger Events OnContactNameChange() OnContactPhoneChange() Enhanced Presence Level of Access Determines Access get_PhoneNumber throws exception OnContactPhoneChange() will not fire

30. Presence Messenger.GetContact() IMessengerContactAdvanced IMessengerContactAdvanced Properties PresenceProperties() Messenger Events OnMyStatusChange() OnContactStatusChange() Note: OC 2007 R2 shows updated presence for OC 2007 R2 contacts only!

31. Presence: Availability and Status Availability == User State Availability == User State 3000 == Available 3000 == Available 18000 == Offline 18000 == Offline PRESENCE_PROPERTY.PRESENCE_PROP_ AVAILABILITY PRESENCE_PROPERTY.PRESENCE_PROP_ AVAILABILITY Status == Machine State Status == Machine State MISTATUS.MISTATUS_ONLINE == Online MISTATUS.MISTATUS_ONLINE == Online MISTATUS.MISTATUS_IN_A_MEETING == In a Meeting MISTATUS.MISTATUS_IN_A_MEETING == In a Meeting PRESENCE_PROPERTY.PRESENCE_PROP_ MSTATE PRESENCE_PROPERTY.PRESENCE_PROP_ MSTATE Availability Availability Availability Availability Status Status Status Status

32. Contact Info

33. Contact List Messenger.MyContacts() IMessengerContacts IMessengerContacts Properties, Methods Item() Count Remove() Messenger Methods AddContact() Messenger Events OnContactListAdd() OnContactListRemove()

34. Contact List

35. Starting Conversations IMessengerAdvanced Methods StartConversation()

36. Starting Conversations

37. Contextual Conversations Integrate Contact Presence Deliver immediate awareness of others availability and willingness to communicate Embed Click-to-Communicate One-click access to communication modalities IM, voice, video 1:1, conferencing Integrate Application Data as Context Deliver immediate conversation context Minimize the impact of context switching

38. WPF Presence Controls for OC 2007 R2 Drag-and-Drop Contextual Collaboration Integrated Presence Click-to-Communicate Extensible for Contextual Collaboration Leverage Office Communicator Automation API Persona Control Presence Bubble Persona List Control Office Communicator 2007 R2 like Persona list Sample that ships with source

39. Starting Conversations IMessengerAdvanced Methods StartConversation() Returns HWND of conversation window Messenger Events OnIMWindowCreated() IMessengerConversationWndAdvanced OnIMWindowDestroyed() IMessengerConversationWndAdvanced Methods/Properties Hwnd SendText() History()

40. Contextual Conversations

41. 2009 Microsoft Corporation. All rights reserved. Microsoft, Windows, Windows Vista and other product names are or may be registered trademarks and/or trademarks in the U.S. and/or other countries. The information herein is for informational purposes only and represents the current view of Microsoft Corporation as of the date of this presentation. Because Microsoft must respond to changing market conditions, it should not be interpreted to be a commitment on the part of Microsoft, and Microsoft cannot guarantee the accuracy of any information provided after the date of this presentation. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS PRESENTATION.

Related