Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

ImapException Class

Namespace: Rebex.Net
Assembly: Rebex.Imap.dll (version 7.0.9147)

The exception that is thrown when an error occurs while using Imap component.

Syntax
public class ImapException : NetworkSessionException, ISerializable
Inheritance
Object
Exception
NetworkSessionException
ImapException
Implements
ISerializable
Inherited Members
NetworkSessionException.ProtocolCode
NetworkSessionException.ProtocolMessage
Exception.Data
Exception.GetBaseException()
Exception.GetType()
Exception.HelpLink
Exception.HResult
Exception.InnerException
Exception.Message
Exception.SerializeObjectState
Exception.Source
Exception.StackTrace
Exception.TargetSite
Exception.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)

Constructors

Name Description
ImapException()

Initializes a new instance of the ImapException class.

ImapException(ImapResponse)

Initializes a new instance of the ImapException class with the specified ImapResponse.

ImapException(String)

Initializes a new instance of the ImapException class with the specified error message.

ImapException(String, ImapExceptionStatus)

Initializes a new instance of the ImapException class with the specified error message and status.

ImapException(String, Exception)

Initializes a new instance of the ImapException class with the specified error message and a reference to the inner exception that is the cause of this exception.

ImapException(String, Exception, ImapExceptionStatus)

Initializes a new instance of the ImapException class with the specified error message, status, and a reference to the inner exception that is the cause of this exception.

Properties

Name Description
ProtocolCode

Gets the protocol error code, if available (usually when Status is set to ProtocolError). Inherited from NetworkSessionException.

ProtocolMessage

Gets the protocol error message, if available (usually when Status is set to ProtocolError). Inherited from NetworkSessionException.

Response

Gets the ImapResponse of the exception.

Status

Gets the status of the response.

In This Article
  • Constructors
  • Properties
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies