Class ExcelWorkbookNotSavedException
Exception that will be thrown when the user tries to dispose XlsIO
application without saving it.
Inheritance
System.Object
ExcelWorkbookNotSavedException
Namespace: Syncfusion.XlsIO
Assembly: Syncfusion.XlsIO.UWP.dll
Syntax
public class ExcelWorkbookNotSavedException : ApplicationException
Constructors
ExcelWorkbookNotSavedException(String)
Creates new ExcelWorkbookNotSavedException.
Declaration
public ExcelWorkbookNotSavedException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | Text that showed after rising. |
ExcelWorkbookNotSavedException(String, Exception)
Initializes a new instance of the Exception class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public ExcelWorkbookNotSavedException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.Exception | innerException | The exception that is the cause of the current exception. If the innerException parameter is not a null reference (Nothing in Visual Basic), the current exception is raised in a catch block that handles the inner exception. |