Generic implementation for CompletionResult.Message

Jun 1, 2009 at 11:50 PM


it would be great if you could have a generic implementation of the CompletionResult so I could get the Message with the right type instead of casting. I understand you could get something else back instead of what you expect (like an exception), so maybe something like GetMessage<T> would be cleaner than "result.Message as XYZ".