New to Telerik Document ProcessingStart a free 30-day trial

Exception thrown when attempting to import or export a workbook with a file extension that no registered format provider supports.

Definition

Constructors

Initializes a new instance of the UnsupportedFileFormatException class for the specified unsupported file extension.

C#
public UnsupportedFileFormatException(string extension)
Parameters:extensionstring

The extension.

Properties

Gets the error message describing which file extension is not supported.

C#
public override string Message { get; }
Property Value:

The error message that explains the reason for the exception, or an empty string("").

Overrides: Exception.Message