void CommunicationChannel_MessageError(object sender, ErrorEventArgs e)
 {
     OnMessageError(e.Error);
 }
 void client_MessageError(object sender, ErrorEventArgs e)
 {
     //输出错误信息
     if (OnError != null)
         OnError(sender, new ErrorMessageEventArgs { Request = request, Error = e.Error });
 }
 void Client_MessageError(object sender, ErrorEventArgs e)
 {
     container.Write(e.Error);
 }