none
AutoResetEvent in WCF service implementation RRS feed

  • Question

  • Hello,

    In my wcf service implementation i am executing a some work flow,in between i am doing pause resume the execution.

    But some times my callback is not getting executed.I think my autoresetevent is not waking up.

        [ServiceBehavior(InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Multiple)]
        public class AAAA: IAAAA

    {

    }

        [ServiceContract(CallbackContract = typeof(IAAAA), SessionMode = SessionMode.Required)]
        public interface IAAAA

    {

    }

        [CallbackBehavior(ConcurrencyMode = ConcurrencyMode.Multiple, UseSynchronizationContext = false)]
        public class AAAProxy: IAAAA, IBBB

    {

    }

    These are my contarct snippets.

    My question is this autoreset event in wcf will cause any problems.Plz let me  know your thoughts????


    Latheesh K Contact No:+91-9747369936

    Tuesday, September 18, 2018 6:05 AM