Implement to confirm that the operation meets some intended criteria.
Assemblies: System.ServiceModel.Primitives (in System.ServiceModel.Primitives.dll)
System.ServiceModel (in System.ServiceModel.dll)
Implement the method to examine the structure to confirm any set of criteria. It is not necessary to perform any customizations in ApplyClientBehavior or ApplyDispatchBehavior to make use of this method. If the operation passes validation, return; otherwise, throw an exception.
For example, the method can be use to ensure that an operation is authorized.