1
在Silverlight中,它可以加載程序集System.ServiceModel.Nettcp,但在MonoTouch中找不到程序集。 MonoTouch支持WCF nettcp綁定嗎?MonoTouch是否支持wcf nettcp綁定?
BinaryMessageEncodingBindingElement messageEncoding = new BinaryMessageEncodingBindingElement();
System.ServiceModel.Channels.TcpTransportBindingElement tcpTransport = new TcpTransportBindingElement();
CustomBinding netTcpBinding = new CustomBinding(messageEncoding, tcpTransport);
是否將程序集添加到Monotouch中解決了問題? – Omtara