/// <summary> /// 共享应用程序通知 /// </summary> /// <param name="conference"></param> /// <param name="lyncResourceNotify"></param> /// <param name="callBack"></param> public void ShareApplicationResourceNotify(int conferenceID, LyncResourceNotify lyncResourceNotify, Action <bool> callBack) { try { this.ShareApplicationResourceNotify_CallBack = callBack; Client.ShareApplicationResourceNotifyAsync(conferenceID, lyncResourceNotify); } catch (Exception ex) { LogManage.WriteLog(this.GetType(), ex); } finally { } }
public void ShareApplicationResourceNotify(int conferenceID, LyncResourceNotify lyncResourceNotify) { lock (objShareApplicationResourceNotify) { try { if (dicLyncResourceNotify.ContainsKey(conferenceID)) { dicLyncResourceNotify[conferenceID] = lyncResourceNotify; } else { dicLyncResourceNotify.Add(conferenceID, lyncResourceNotify); } this.InformClient(conferenceID, LyncConversationFlgType.LyncResourceNotify, lyncResourceNotify); } catch (Exception ex) { LogManage.WriteLog(this.GetType(), ex); } } }