Пример #1
0
 /// <summary>
 /// Asynchronously sets the specified metadata.
 /// </summary>
 /// <remarks>
 /// Asynchronously sets the specified metadata.
 /// </remarks>
 /// <returns>An asynchronous task context.</returns>
 /// <param name="metadata">The metadata.</param>
 /// <param name="cancellationToken">The cancellation token.</param>
 /// <exception cref="System.ArgumentNullException">
 /// <paramref name="metadata"/> is <c>null</c>.
 /// </exception>
 /// <exception cref="System.ObjectDisposedException">
 /// The <see cref="MailStore"/> has been disposed.
 /// </exception>
 /// <exception cref="ServiceNotConnectedException">
 /// The <see cref="MailStore"/> is not connected.
 /// </exception>
 /// <exception cref="ServiceNotAuthenticatedException">
 /// The <see cref="MailStore"/> is not authenticated.
 /// </exception>
 /// <exception cref="System.NotSupportedException">
 /// The folder does not support metadata.
 /// </exception>
 /// <exception cref="System.OperationCanceledException">
 /// The operation was canceled via the cancellation token.
 /// </exception>
 /// <exception cref="System.IO.IOException">
 /// An I/O error occurred.
 /// </exception>
 /// <exception cref="ProtocolException">
 /// The server's response contained unexpected tokens.
 /// </exception>
 /// <exception cref="CommandException">
 /// The command failed.
 /// </exception>
 public abstract Task SetMetadataAsync(MetadataCollection metadata, CancellationToken cancellationToken = default(CancellationToken));
Пример #2
0
 /// <summary>
 /// Sets the specified metadata.
 /// </summary>
 /// <remarks>
 /// Sets the specified metadata.
 /// </remarks>
 /// <param name="metadata">The metadata.</param>
 /// <param name="cancellationToken">The cancellation token.</param>
 /// <exception cref="System.ArgumentNullException">
 /// <paramref name="metadata"/> is <c>null</c>.
 /// </exception>
 /// <exception cref="System.ObjectDisposedException">
 /// The <see cref="MailStore"/> has been disposed.
 /// </exception>
 /// <exception cref="ServiceNotConnectedException">
 /// The <see cref="MailStore"/> is not connected.
 /// </exception>
 /// <exception cref="ServiceNotAuthenticatedException">
 /// The <see cref="MailStore"/> is not authenticated.
 /// </exception>
 /// <exception cref="System.NotSupportedException">
 /// The folder does not support metadata.
 /// </exception>
 /// <exception cref="System.OperationCanceledException">
 /// The operation was canceled via the cancellation token.
 /// </exception>
 /// <exception cref="System.IO.IOException">
 /// An I/O error occurred.
 /// </exception>
 /// <exception cref="ProtocolException">
 /// The server's response contained unexpected tokens.
 /// </exception>
 /// <exception cref="CommandException">
 /// The command failed.
 /// </exception>
 public abstract void SetMetadata(MetadataCollection metadata, CancellationToken cancellationToken = default(CancellationToken));