Exemplo n.º 1
0
 public string GetMethodName(Message message, bool throwOnError)
 {
     try
     {
         var request = (InvokeMethodRequest)message.BodyObject;
         return(methodInvoker.GetMethodName(request));
     }
     catch
     {
         if (throwOnError)
         {
             throw;
         }
         else
         {
             return(null);
         }
     }
 }