Message in Polish (Polski)
Aby użyć jednego z konstruktorów ServiceHost pobierającego wystąpienie usługi, tryb InstanceContextMode usługi musi być ustawiony na InstanceContextMode.Single. Ustawienie takiej konfiguracji jest możliwe za pomocą atrybutu ServiceBehaviorAttribute. W przeciwnym wypadku należy rozważyć użycie konstruktorów ServiceHost przyjmujących argument Type.
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