C# Class MailKit.FolderNotOpenException

Inheritance: System.InvalidOperationException
Afficher le fichier Open project: jstedfast/MailKit

Méthodes publiques

Méthode Description
FolderNotOpenException ( string folderName, FolderAccess access ) : System

Initializes a new instance of the MailKit.FolderNotOpenException class.

Creates a new FolderNotOpenException.

FolderNotOpenException ( string folderName, FolderAccess access, string message ) : System

Initializes a new instance of the MailKit.FolderNotOpenException class.

Creates a new FolderNotOpenException.

FolderNotOpenException ( string folderName, FolderAccess access, string message, Exception innerException ) : System

Initializes a new instance of the MailKit.FolderNotOpenException class.

Creates a new FolderNotOpenException.

GetObjectData ( SerializationInfo info, StreamingContext context ) : void

When overridden in a derived class, sets the System.Runtime.Serialization.SerializationInfo with information about the exception.

Serializes the state of the FolderNotOpenException.

Méthodes protégées

Méthode Description
FolderNotOpenException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the MailKit.FolderNotOpenException class.

Deserializes a FolderNotOpenException.

Private Methods

Méthode Description
GetDefaultMessage ( FolderAccess access ) : string

Method Details

FolderNotOpenException() protected méthode

Initializes a new instance of the MailKit.FolderNotOpenException class.
Deserializes a FolderNotOpenException.
/// is null. ///
protected FolderNotOpenException ( SerializationInfo info, StreamingContext context ) : System
info System.Runtime.Serialization.SerializationInfo The serialization info.
context System.Runtime.Serialization.StreamingContext The streaming context.
Résultat System

FolderNotOpenException() public méthode

Initializes a new instance of the MailKit.FolderNotOpenException class.
Creates a new FolderNotOpenException.
/// is null. ///
public FolderNotOpenException ( string folderName, FolderAccess access ) : System
folderName string The folder name.
access FolderAccess The minimum folder access required by the operation.
Résultat System

FolderNotOpenException() public méthode

Initializes a new instance of the MailKit.FolderNotOpenException class.
Creates a new FolderNotOpenException.
/// is null. ///
public FolderNotOpenException ( string folderName, FolderAccess access, string message ) : System
folderName string The folder name.
access FolderAccess The minimum folder access required by the operation.
message string The error message.
Résultat System

FolderNotOpenException() public méthode

Initializes a new instance of the MailKit.FolderNotOpenException class.
Creates a new FolderNotOpenException.
/// is null. ///
public FolderNotOpenException ( string folderName, FolderAccess access, string message, Exception innerException ) : System
folderName string The folder name.
access FolderAccess The minimum folder access required by the operation.
message string The error message.
innerException System.Exception The inner exception.
Résultat System

GetObjectData() public méthode

When overridden in a derived class, sets the System.Runtime.Serialization.SerializationInfo with information about the exception.
Serializes the state of the FolderNotOpenException.
/// is null. ///
public GetObjectData ( SerializationInfo info, StreamingContext context ) : void
info System.Runtime.Serialization.SerializationInfo The serialization info.
context System.Runtime.Serialization.StreamingContext The streaming context.
Résultat void