Class AsposeInvalidOperationException
Contents
[
Hide
]AsposeInvalidOperationException class
The exception that is thrown when a method call is not valid for the current state of the object.
public class AsposeInvalidOperationException : AsposeException
Constructors
| Name | Description |
|---|---|
| AsposeInvalidOperationException() | Initializes a new instance of the AsposeInvalidOperationException class. |
| AsposeInvalidOperationException(string) | Initializes a new instance of the AsposeInvalidOperationException class with the specified error message. |
| AsposeInvalidOperationException(string, Exception) | Initializes a new instance of the AsposeInvalidOperationException class with the specified error message and a reference to the exception that caused it. |
| AsposeInvalidOperationException(string, params object[]) | Initializes a new instance of the AsposeInvalidOperationException class with an error message built from a composite format string. |
| AsposeInvalidOperationException(string, string) | Initializes a new instance of the AsposeInvalidOperationException class with an error message built from a format string with one argument. |
Properties
| Name | Description |
|---|---|
| ErrorDetails { get; } | Gets additional information about the error, if the operation provides any. |
| override Message { get; } | Gets the message that describes the error. |
Methods
| Name | Description |
|---|---|
| override ToString() | Returns the type, the message and the stack trace of the exception. |
See Also
- class AsposeException
- namespace Aspose.Email
- assembly Aspose.Email