how to check if service instance is faulted in wcf duplex communication RRS feed

  • Question

  • User2038048451 posted

    NetTcpBinding binding = TcpBindingUtility.CreateNetTcpBinding();
    EndpointAddress endpoint = new EndpointAddress(@"net.tcp://localhost:8049/IService/");
    Agent<IService> client = new Agent<IService>(CallBackInstance, binding, endpoint);
    serviceInstance = client.ChannelFactory.CreateChannel();
    serviceInstance.Register("TestSystem"); //service Call

    Here before calling service method is there any way we can check if service channel is in faulted state . if service channel goes to faulted how to abort and recreat.

    Tuesday, January 31, 2017 1:04 PM

All replies