NullReference Exception is thrown while getting a callback channel
Posted
by Yaroslav
on Stack Overflow
See other posts from Stack Overflow
or by Yaroslav
Published on 2010-04-08T20:56:46Z
Indexed on
2010/04/09
0:13 UTC
Read the original article
Hit count: 870
Hi!
I am trying to get along with WCF's duplex contracts. A code from this article
(http://msdn.microsoft.com/en-us/library/ms731184.aspx)
ICalculatorDuplexCallback callback = null; callback = OperationContext.Current.GetCallbackChannel();
throws a NullReferenceException. So how can i manage this?
Thanks for your attention!
© Stack Overflow or respective owner