我在官网看到了一个登录的例子,但是有个问题!
代码:
public void SignIn(string UserUri, string UserNameDomain, string Password)
{
LyncClient.GetClient().ClientStateChanged += myClient_ClientStateChanged;
try
{
IAsyncResult ar = LyncClient.GetClient().BeginSignIn(UserUri, UserNameDomain, Password, null, null);
}
catch (NotInitializedException)
{
MessageBox.Show("Lync error!");
}
}
这个LyncClient.GetClient().ClientStateChanged里的.ClientStateChanged报错了,为什么他报:是否缺少using指令或 程序集引用?