I have declared my service behavior as single instance mode as stated below
[ServiceBehavior(InstanceContextMode = InstanceContextMode.Single)]
public class Service : IService
{
[OperationBehavior]
public void DoSomething()
{
...
}
}
I want to know the execution status of DoSomething() from the client, ensuring that while it is running, no client request should call DoSomething(). Please help me to find a solution?