I have a web service in which I have created a custom exception. Let's say the name of this exception is InvalidContractException. 

What I would like to do is if a specific step occurs, I want to throw this exception. However, I can't figure out how the client would catch the InvalidContractException in order to handle it properly. 

This is an ASP.Net Web Service written in C#