How to Validate Input Parameters

- J.D. Meier, Carlos Farre, Jason Taylor, Prashant Bansode, Steve Gregersen, Madhu Sundararajan, Rob Boucher

Implement BeforeCall() on the parameter inspector to validate input parameters on a client or service. Inside BeforeCall() implement the validation logic to validate the parameters.
public class ValidationParameterInspector : IParameterInspector
public object BeforeCall(string operationName, object[] inputs)
{ …    }

Additional Resources

Last edited Jun 13, 2008 at 8:12 PM by prashantbansode, version 1


No comments yet.