AlternateView Constructor (String, ContentType)
Initializes a new instance of AlternateView with the specified file name and content type.
Assembly: System (in System.dll)
fileName is null.
contentType is not a valid value.
The caller does not have the required permission.
An I/O error occurred, such as a disk error.
The access requested is not permitted by the operating system for the specified file handle, such as when access is Write or ReadWrite and the file handle is set for read-only access.