## SSPIException class

The exception that is thrown when Windows integrated authentication (SSPI) fails.

```csharp
public class SSPIException : AsposeException
```

## Constructors

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

## Properties

| Name | Description |
| --- | --- |
| [ErrorCode](../../aspose.email/sspiexception/errorcode/) { get; } | Gets the SSPI status code of the error. |
| [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](../../)


