## AsposeArgumentException class

The exception that is thrown when an argument passed to a method is not valid.

```csharp
public class AsposeArgumentException : AsposeException
```

## Constructors

| Name | Description |
| --- | --- |
| [AsposeArgumentException](asposeargumentexception/#constructor)() | Initializes a new instance of the `AsposeArgumentException` class. |
| [AsposeArgumentException](asposeargumentexception/#constructor_1)(Exception) | Initializes a new instance of the `AsposeArgumentException` class with a reference to the exception that caused it. |
| [AsposeArgumentException](asposeargumentexception/#constructor_2)(string) | Initializes a new instance of the `AsposeArgumentException` class with the specified error message. |
| [AsposeArgumentException](asposeargumentexception/#constructor_3)(string, Exception) | Initializes a new instance of the `AsposeArgumentException` class with the specified error message and a reference to the exception that caused it. |
| [AsposeArgumentException](asposeargumentexception/#constructor_4)(string, params object[]) | Initializes a new instance of the `AsposeArgumentException` class with an error message built from a composite format string. |
| [AsposeArgumentException](asposeargumentexception/#constructor_5)(string, string) | Initializes a new instance of the `AsposeArgumentException` class with an error message built from a format string with one argument. |

## Properties

| Name | Description |
| --- | --- |
| [ErrorDetails](../../aspose.email/asposeexception/errordetails/) { get; } | Gets additional information about the error, if the operation provides any. |
| override [Message](../../aspose.email/asposeexception/message/) { get; } | Gets the message that describes the error. |

## Methods

| Name | Description |
| --- | --- |
| override [ToString](../../aspose.email/asposeexception/tostring/)() | Returns the type, the message and the stack trace of the exception. |

### See Also

* class [AsposeException](../asposeexception/)
* namespace [Aspose.Email](../../aspose.email/)
* assembly [Aspose.Email](../../)


