C# Class MailKit.FolderNotOpenException

Inheritance: System.InvalidOperationException
Exibir arquivo Open project: jstedfast/MailKit

Public Methods

Method 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.

Protected Methods

Method Description
FolderNotOpenException ( SerializationInfo info, StreamingContext context ) : System

Initializes a new instance of the MailKit.FolderNotOpenException class.

Deserializes a FolderNotOpenException.

Private Methods

Method Description
GetDefaultMessage ( FolderAccess access ) : string

Method Details

FolderNotOpenException() protected method

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.
return System

FolderNotOpenException() public method

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.
return System

FolderNotOpenException() public method

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.
return System

FolderNotOpenException() public method

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.
return System

GetObjectData() public method

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.
return void