public MediaWriterException(
string message,
MediaWriterExceptionCode code
)
message
The error message that explains the reason for the exception.
code
flag that indicates the code causing the exception.
The constructor initializes the Message property of the new instance using message.