开发者

WCF: DuplexChannelFactory timeout error

开发者 https://www.devze.com 2022-12-11 00:33 出处:网络
I\'m using a DuplexChannelFactory when accessing my WCF service so that my service can use a callBackChannel to communicate back to the client.

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

精彩评论

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