简体   繁体   English

了解lync中的事件处理程序

[英]Understanding Event Handlers in lync

im very new to C# as well as lync SDK, can sumone help me to understand the meaning of the below line. 我对C#和lync SDK还是很陌生,可以通过sumone帮助我了解下一行的含义。 what i understood was whenever lefthand side event occures it will call the rightthand side handler. 我了解的是,每当发生左侧事件时,它将调用右侧处理程序。 am i correct? 我对么?

lyncClient.ConversationManager.ConversationAdded += ConversationManager_ConversationAdded;

You add an event handler called ConversationManager_ConversationAdded to a structure associated with event ConversationAdded . 您将一个名为ConversationManager_ConversationAdded的事件处理程序添加到与事件ConversationAdded关联的结构中。 When a ConversationAdded event occurs, all handlers added will be called with arguments defining context of this event occurence. 当发生ConversationAdded事件时,将使用定义此事件发生上下文的参数调用所有添加的处理程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM