Show / Hide Table of Contents

Class MAPIException

Exception thrown when a MAPI error occurs.

Inheritance
object
Exception
MAPIException
Implements
ISerializable
Exception.GetBaseException()
Exception.GetType()
Exception.ToString()
Exception.Data
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.Source
Exception.StackTrace
Exception.TargetSite
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.ReferenceEquals(object, object)
Namespace: Sartorius.SAF.MAPI
Assembly: Sartorius.SAF.dll
Syntax
[Serializable]
public sealed class MAPIException : Exception, ISerializable

Constructors

View Source

MAPIException()

Creates a new instance of the MAPIException class.

Declaration
public MAPIException()
View Source

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.

View Source

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 Source

ErrorCode

Gets the error code.

Declaration
public int ErrorCode { get; }
Property Value
Type Description
int

The error code.

Implements

ISerializable

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
ExceptionExtensions.GetRootException(Exception)
  • View Source
Back to top Generated by DocFX