AlternateView Constructor (String, String)
Initializes a new instance of AlternateView with the specified file name and media type.
Assembly: System (in System.dll)
fileName is null.
mediaType 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.