ExcelWorkbookNotSavedException Class
Exception that will be thrown when the user tries to dispose XlsIO
application without saving it.
Inheritance
System.Object
System.Exception
System.ApplicationException
ExcelWorkbookNotSavedException
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception
Inherited Members
System.Exception.Data
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.SerializeObjectState
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Syncfusion.XlsIO
Assembly: Syncfusion.XlsIO.Base.dll
Syntax
public class ExcelWorkbookNotSavedException : ApplicationException, ISerializable, _Exception
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. |
Implements
System.Runtime.Serialization.ISerializable
System.Runtime.InteropServices._Exception