getting "object review only" blunder sourroundings clientcredentials wcf


i have surrogate vigilant generated visible studio (client side) named serverclient. i am attempting set clientcredentials.username.username/password before opening adult new tie controlling code:



instancecontext context = new instancecontext(this);

m_client = new serverclient(context);
m_client.clientcredentials.username.username = "sample";


as shortly formula hits username line fails an "object read-only" error. i know occur tie already open faulted, nonetheless during indicate i haven't called context.open() yet.



i have configured bindings (which uses nettcpbinding) summary it's confidence mode, messageclientcredentialtype set username.



any ideas?



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?