Max Convert Response Code Constructor
Initialize a new instance of the MaxConvertResponseCode class.
Definition
Namespace: MailKit.Net.Imap
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
Assembly: MailKit (in MailKit.dll) Version: 5.0.0
C#
public MaxConvertResponseCode(
ImapResponseCodeType type,
uint maxConvert,
bool isTagged,
string message
)Parameters
- type ImapResponseCodeType
- Either MaxConvertMessages or MaxConvertParts.
- maxConvert UInt32
- The maximum number of messages or body parts.
- isTagged Boolean
- if the response code was in a tagged response; otherwise, .
- message String
- The human-readable text that followed the response code.
Remarks
Creates a new MaxConvertResponseCode.
Exceptions
| ArgumentOutOfRangeException | type is not MaxConvertMessages or MaxConvertParts. |
| ArgumentNullException | message is . |