有時,這將是一個SocketException:什麼可能導致我的WCF拋出奇怪的Socket異常?
Stack trace: at System.Net.Sockets.Socket.Send(Byte[] buffer, Int32 offset, Int32 size, SocketFlags socketFlags)
at System.ServiceModel.Channels.SocketConnection.Write(Byte[] buffer, Int32 offset, Int32 size, Boolean immediate, TimeSpan timeout)
有時則是拋出以下CommunicationObjectAbortedException:
Stack trace: at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
的行爲是很隨意的。它正在反對一般工作的靜態調用。
你與regina有關嗎? – 2010-03-29 01:04:15
@every_answer_gets_a_point Nope – 2010-03-29 02:03:45