MailKit.MailSpool.GetMessageSize C# (CSharp) Метод

GetMessageSize() публичный абстрактный Метод

Get the size of the specified message, in bytes.
Gets the size of the specified message, in bytes.
/// is not a valid message index. /// /// The has been disposed. /// /// The is not connected. /// /// The is not authenticated. /// /// The operation was canceled via the cancellation token. /// /// An I/O error occurred. /// /// The command failed. /// /// A protocol error occurred. ///
public abstract GetMessageSize ( int index, CancellationToken cancellationToken = default(CancellationToken) ) : int
index int The index of the message.
cancellationToken System.Threading.CancellationToken The cancellation token.
Результат int
		public abstract int GetMessageSize (int index, CancellationToken cancellationToken = default (CancellationToken));

Same methods

MailSpool::GetMessageSize ( string uid, CancellationToken cancellationToken = default(CancellationToken) ) : int