WCF:序列已被远程端点终止。

WCF: The sequence has been terminated by the remote endpoint.

我收到这个错误,"The sequence has been terminated by the remote endpoint. The inactivity timeout of (00:10:00) has been exceeded. The reliable session was faulted."

如果服务执行时间过长至少超过 10 分钟,则可以生成。 如果您认为您的应用程序需要可靠会话,您可以在绑定配置部分下的可靠会话部分增加不活动时间。

否则,您应该通过在绑定配置部分下的 ReliableSession 属性下将 Enabled 属性 标记为 false 来关闭该部分。但是你应该检查为什么你的服务需要这么多时间。

希望对您有所帮助。