Class MAPIException
Exception thrown when a MAPI error occurs.
Implements
Namespace: Sartorius.SAF.MAPI
Assembly: Sartorius.SAF.dll
Syntax
[Serializable]
public sealed class MAPIException : Exception, ISerializable
Constructors
View SourceMAPIException()
Creates a new instance of the MAPIException class.
Declaration
public MAPIException()
MAPIException(string)
Creates a new instance of the MAPIException class.
Declaration
public MAPIException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The error message that explains the reason for the exception. |
MAPIException(string, Exception)
Create a new instance of MAPIException.
Declaration
public MAPIException(string message, Exception innerException)
Parameters
| Type | Name | Description |
|---|---|---|
| string | message | The error message that explains the reason for the exception. |
| Exception | innerException | The internal exception. |
Properties
View SourceErrorCode
Gets the error code.
Declaration
public int ErrorCode { get; }
Property Value
| Type | Description |
|---|---|
| int | The error code. |