Message in Chinese (Simplified) (中文(简体))
要使用采用服务实例的其中一个 ServiceHost 构造函数,服务的 InstanceContextMode 必须设置为 InstanceContextMode.Single。可以通过 ServiceBehaviorAttribute 进行此配置。否则,请考虑使用采用 Type 参数的 ServiceHost 构造函数。
Unlocalized message
In order to use one of the ServiceHost constructors that takes a service instance, the InstanceContextMode of the service must be set to InstanceContextMode.Single. This can be configured via the ServiceBehaviorAttribute. Otherwise, please consider using the ServiceHost constructors that take a Type argument.
Search by Google