General advice about the IParameterInspector BeforeCall return value

Pete

New Member
I'm just learning about WCF WebMethods, and have started to digest the code to plug in the \[code\]IParameterInspector\[/code\] interface for parameter validation.Can someone please tell me in the most basic terms what the purpose is of the return object in the \[code\]BeforeCall()\[/code\] function? Through basic testing I realise that I can return an object from \[code\]BeforeCall()\[/code\] that then becomes available within \[code\]AfterCall()\[/code\] \[code\]correlationState\[/code\] parameter.I assume that this value doesn't get returned anywhere else from the consuming code?Can someone please provide some basic examples of why programmers might need to utilize this please?Thanks in advance.
 
Back
Top