Hi I don't understand your question quite well, but I'll try to answer the way I did. When you reference a WCF service, as you know proxy classes will be generated in client project. This proxy classes share the same data member's Interface which is on the server-side, but not the behavior. So for instance, all properties will be accessible from the client, but not events, methods and so on. Maybe you can write what you are trying to accomplish and we may help?
Update
Ok, now I think I understand. Well that's a solution to remove each event which shouldn't fire before you execute AddNumber method. Another solution is to keep track of calling classes. for example
public static ArrayList eventObjects = new ArrayList(); //Declare a global array list which will be accessible from all classes eventObjects.Add(this); //Before calling AddNumber method _client.AddNumber += new EventHandler<AddNumberCompletedEventArgs>(_client_AddNumberCompleted); void _client_AddNumberCompleted(object sender, AddNumberCompletedEventArgs e) { if(ar.Contains(this)) { //Do what you want to do here. Other classes will receive this event too, but they will not react. eventObjects.Remove(this); } }
However I must warn you that this is not a best approach. I can't suggest you a better way because I don't know what you are trying to accomplish.