How do i get the invoked operation name within a WCF Message Inspector
It’s not pretty, but this is what I did to get the operation name: var action = OperationContext.Current.IncomingMessageHeaders.Action; var operationName = action.Substring(action.LastIndexOf(“https://stackoverflow.com/”, StringComparison.OrdinalIgnoreCase) + 1);