Check this out.
I’ve wanted to send emails, and have messages with both plain text and html views. A quick look at MSDN have braught this up, and it looked good. Waydago MSFT - good work.
However, a strange exception occured in runtime, and after a little check it was obvious that the constructor used in MSDN’s doc is just NOT THERE.
This guy also had the same problem, and someone there pointer out the solution. There is a static method to create an instance of a AlternateView from a string that represents a message’s body. It’s called CreateAlternateViewFromStringand It’s nice to have it.
Mistakes in docs are exceptable, however, the guy braught it up last January, and MSFT didn’t fix the doc until now.
Strange it is.