Tuesday, 10 September 2013

Open ServiceHost occurs a weak exception

Open ServiceHost occurs a weak exception

When i try to open my service host:
var hostServiceForAddIn = new ServiceHost(ServiceForAddIn);
HostServiceForAddIn.Open();
occurs the exception in the AppDomain.CurrentDomain.FirstChanceException
event handler 3 consecutive times and hostServiceForAddIn host is opened.
Name cannot begin with the '<' character, hexadecimal value 0x3C.
Why?

No comments:

Post a Comment