开发者

WCF: DuplexChannelFactory timeout error

I'm using a DuplexChannelFactory when accessing my WCF service so that my service can use a callBackChannel to communicate back to the client.

That's all fine but I get a t开发者_开发知识库imeout error when creating the CallBackChannel if I do not use the channel for a period of time. I create the callBackChannel like so:

OperationContext.Current.GetCallbackChannel<ICallBack>().MethodOnClient();

Does anyone know how to change the timeout to infinity and what the actually default timeout period is?


I believe Timeout is set in Binding section You can check deafult WCF values using WCF Service Configuration Editor (from Tools menu)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜