Méthode | Description | |
---|---|---|
EnableQuickResync ( |
Enable the quick resynchronization feature. Enables quick resynchronization when a folder is opened using the MailFolder.Open(FolderAccess,uint,ulong,System.Collections.Generic.IList<UniqueId>,System.Threading.CancellationToken) method. If this feature is enabled, the MailFolder.MessageExpunged event is replaced with the MailFolder.MessagesVanished event. This method needs to be called immediately after calling one of the Authenticate methods, before opening any folders. |
|
EnableQuickResyncAsync ( |
Asynchronously enable the quick resynchronization feature. Enables quick resynchronization when a folder is opened using the MailFolder.Open(FolderAccess,uint,ulong,System.Collections.Generic.IList<UniqueId>,System.Threading.CancellationToken) method. If this feature is enabled, the MailFolder.MessageExpunged event is replaced with the MailFolder.MessagesVanished event. This method needs to be called immediately after calling one of the Authenticate methods, before opening any folders. |
|
GetFolder ( |
Get the folder for the specified namespace. Gets the folder for the specified namespace. |
|
GetFolder ( SpecialFolder folder ) : IMailFolder |
Get the specified special folder. Not all mail stores support special folders. Each implementation should provide a way to determine if special folders are supported. |
|
GetFolder ( string path, |
Get the folder for the specified path. Gets the folder for the specified path. |
|
GetFolderAsync ( string path, |
Asynchronously get the folder for the specified path. Asynchronously gets the folder for the specified path. |
|
GetFolders ( |
Get all of the folders within the specified namespace. Gets all of the folders within the specified namespace. |
|
GetFolders ( |
Get all of the folders within the specified namespace. Gets all of the folders within the specified namespace. |
|
GetFoldersAsync ( |
Asynchronously get all of the folders within the specified namespace. Asynchronously gets all of the folders within the specified namespace. |
|
GetFoldersAsync ( |
Asynchronously get all of the folders within the specified namespace. Asynchronously gets all of the folders within the specified namespace. |
|
GetMetadata ( IEnumerable |
Gets the specified metadata. Gets the specified metadata. |
|
GetMetadata ( |
Gets the specified metadata. Gets the specified metadata. |
|
GetMetadata ( |
Gets the specified metadata. Gets the specified metadata. |
|
GetMetadataAsync ( IEnumerable |
Asynchronously gets the specified metadata. Asynchronously gets the specified metadata. |
|
GetMetadataAsync ( |
Asynchronously gets the specified metadata. Asynchronously gets the specified metadata. |
|
GetMetadataAsync ( |
Asynchronously gets the specified metadata. Asynchronously gets the specified metadata. |
|
SetMetadata ( MetadataCollection metadata, CancellationToken cancellationToken = default(CancellationToken) ) : void |
Sets the specified metadata. Sets the specified metadata. |
|
SetMetadataAsync ( MetadataCollection metadata, CancellationToken cancellationToken = default(CancellationToken) ) : Task |
Asynchronously sets the specified metadata. Asynchronously sets the specified metadata. |
Méthode | Description | |
---|---|---|
MailStore ( IProtocolLogger protocolLogger ) : System |
Initializes a new instance of the MailKit.MailStore class. Initializes a new instance of the MailKit.MailStore class. |
|
OnAlert ( string message ) : void |
Raise the alert event. Raises the alert event. |
public abstract EnableQuickResync ( |
||
cancellationToken | The cancellation token. | |
Résultat | void |
public EnableQuickResyncAsync ( |
||
cancellationToken | The cancellation token. | |
Résultat | Task |
public abstract GetFolder ( |
||
@namespace | ||
Résultat | IMailFolder |
public abstract GetFolder ( SpecialFolder folder ) : IMailFolder | ||
folder | SpecialFolder | The type of special folder. |
Résultat | IMailFolder |
public abstract GetFolder ( string path, |
||
path | string | The folder path. |
cancellationToken | The cancellation token. | |
Résultat | IMailFolder |
public GetFolderAsync ( string path, |
||
path | string | The folder path. |
cancellationToken | The cancellation token. | |
Résultat | Task |
public abstract GetFolders ( |
||
@namespace | ||
items | StatusItems | The status items to pre-populate. |
subscribedOnly | bool | If set to |
cancellationToken | The cancellation token. | |
Résultat | IList |
public GetFolders ( |
||
@namespace | ||
subscribedOnly | bool | If set to |
cancellationToken | The cancellation token. | |
Résultat | IList |
public GetFoldersAsync ( |
||
@namespace | ||
items | StatusItems | The status items to pre-populate. |
subscribedOnly | bool | If set to |
cancellationToken | The cancellation token. | |
Résultat | Task |
public GetFoldersAsync ( |
||
@namespace | ||
subscribedOnly | bool | If set to |
cancellationToken | The cancellation token. | |
Résultat | Task |
public GetMetadata ( IEnumerable |
||
tags | IEnumerable |
The metadata tags. |
cancellationToken | The cancellation token. | |
Résultat | MetadataCollection |
public abstract GetMetadata ( |
||
options | The metadata options. | |
tags | IEnumerable |
The metadata tags. |
cancellationToken | The cancellation token. | |
Résultat | MetadataCollection |
public abstract GetMetadata ( |
||
tag | The metadata tag. | |
cancellationToken | The cancellation token. | |
Résultat | string |
public GetMetadataAsync ( IEnumerable |
||
tags | IEnumerable |
The metadata tags. |
cancellationToken | The cancellation token. | |
Résultat | Task |
public GetMetadataAsync ( |
||
options | The metadata options. | |
tags | IEnumerable |
The metadata tags. |
cancellationToken | The cancellation token. | |
Résultat | Task |
public GetMetadataAsync ( |
||
tag | The metadata tag. | |
cancellationToken | The cancellation token. | |
Résultat | Task |
protected MailStore ( IProtocolLogger protocolLogger ) : System | ||
protocolLogger | IProtocolLogger | The protocol logger. |
Résultat | System |
protected OnAlert ( string message ) : void | ||
message | string | The alert message. |
Résultat | void |
public abstract SetMetadata ( MetadataCollection metadata, CancellationToken cancellationToken = default(CancellationToken) ) : void | ||
metadata | MetadataCollection | The metadata. |
cancellationToken | CancellationToken | The cancellation token. |
Résultat | void |
public SetMetadataAsync ( MetadataCollection metadata, CancellationToken cancellationToken = default(CancellationToken) ) : Task | ||
metadata | MetadataCollection | The metadata. |
cancellationToken | CancellationToken | The cancellation token. |
Résultat | Task |