Chinese (Simplified) (中文(简体))

在地址“X”为协定“Contract Name”处理消息时切换了线程。ServiceBehaviorAttribute 上的 UseSynchronizationContext 属性被设置为 True,且打开 ServiceHost 时 SynchronizationContext.Current 为非空。如果您的服务表现为未在处理消息,请考虑将 UseSynchronizationContext 设置为 False。

Switched threads while processing a message for Contract 'Contract Name' at Address 'X'. UseSynchronizationContext property on ServiceBehaviorAttribute is set to true, and SynchronizationContext.Current was non-null when opening ServiceHost. If your service seems to be not processing messages, consider setting UseSynchronizationContext to false.

Top Google Results