title: WCF: Retrieving MethodInfo from OperationContext
body: <p>Is there an elegant way to get the method that will be executed on a service instance from MessageInspector/AuthorizationPolicy/some other extension point? I could use</p>
  
  <blockquote>
    <p>OperationContext.Current.IncomingMessageHeaders.Action</p>
  </blockquote>
  
  <p>but I hope there's some way to do it without manually matching SOAP actions with OperationContracts.</p>
  
  <p>What I'm trying to do is examine the method's attributes before it executes.</p>