我有以下代码,我非常确定可以工作,但我不确定要分配什么" conferenceAccess"考虑到新创建的聊天。有没有人知道如何去做?
if (_lyncAutomation != null)
{
AutomationModalities mode = AutomationModalities.InstantMessage;
var convoSettings = new Dictionary<AutomationModalitySettings, object>();
convoSettings.Add(AutomationModalitySettings.Subject, chatTitle);
convoSettings.Add(AutomationModalitySettings.FirstInstantMessage, chat);
convoSettings.Add(AutomationModalitySettings.SendFirstInstantMessageImmediately, true);
try
{
_lyncAutomation.BeginStartConversation(mode, participants, convoSettings,
StartConversationCallback, null);
ConferenceAccessInformation conferenceAccess = ConferenceAccessInformation;
string chatURL = conferenceAccess.ExternalUrl;
}
要清楚,上面的代码完美无缺,除了我刚刚添加的最后几行代码。
提前感谢您的帮助。