MailBee.NET Objects 6.0

MailBeeInvalidStateException Class

The exception that is thrown when the requested operation cannot be performed in the current state.

For a list of all members of this type, see MailBeeInvalidStateException Members.

System.Object
   System.Exception
      System.ApplicationException
         MailBee.MailBeeException
            MailBee.MailBeeInvalidStateException

public class MailBeeInvalidStateException : MailBeeException

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Remarks

This exception is thrown even if ThrowExceptions property value of MailBee component (such as Smtp, Pop3, and Imap) is set to false because it indicates there is an error in the application code (for instance, Connect method is called when already connected).

MailBeeInvalidStateException should never occur if the application is written correctly.

Requirements

Namespace: MailBee

Assembly: MailBee.NET (in MailBee.NET.dll)

See Also

MailBeeInvalidStateException Members | MailBee Namespace