Initializes a new instance of AlternateView with the specified Stream and ContentType.
A stream that contains the content for this attachment.
The type of the content.
contentStream is null.
contentType is not a valid value.
A new instance of the AlternateView class call also be initialized by calling one of the CreateAlternateViewFromString methods.