ImapClient.CopyMessageAsync
Contents
[
Hide
]CopyMessageAsync(IConnection, int, string)
Copies the message
public Task<string> CopyMessageAsync(IConnection connection, int sequenceNumber, string folderName)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | Int32 | The sequence number of the message |
folderName | String | Folder name where a message is to be copied |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
CopyMessageAsync(IConnection, string, string)
Copies the message
public Task<string> CopyMessageAsync(IConnection connection, string uniqueId, string folderName)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The uid of the message |
folderName | String | Folder name where a message is to be copied |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
CopyMessageAsync(int, string)
Copies the message
public Task<string> CopyMessageAsync(int sequenceNumber, string folderName)
Parameter | Type | Description |
---|---|---|
sequenceNumber | Int32 | The sequence number of the message |
folderName | String | Folder name where a message is to be copied |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
CopyMessageAsync(string, string)
Copies the message
public Task<string> CopyMessageAsync(string uniqueId, string folderName)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The uid of the message |
folderName | String | Folder name where a message is to be copied |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
CopyMessageAsync(IConnection, int, string, CancellationToken)
Copies the message
public Task<string> CopyMessageAsync(IConnection connection, int sequenceNumber, string folderName,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
sequenceNumber | Int32 | The sequence number of the message |
folderName | String | Folder name where a message is to be copied |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
CopyMessageAsync(IConnection, string, string, CancellationToken)
Copies the message
public Task<string> CopyMessageAsync(IConnection connection, string uniqueId, string folderName,
CancellationToken token)
Parameter | Type | Description |
---|---|---|
connection | IConnection | Connection to a server |
uniqueId | String | The uid of the message |
folderName | String | Folder name where a message is to be copied |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- interface IConnection
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
CopyMessageAsync(int, string, CancellationToken)
Copies the message
public Task<string> CopyMessageAsync(int sequenceNumber, string folderName, CancellationToken token)
Parameter | Type | Description |
---|---|---|
sequenceNumber | Int32 | The sequence number of the message |
folderName | String | Folder name where a message is to be copied |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email
CopyMessageAsync(string, string, CancellationToken)
Copies the message
public Task<string> CopyMessageAsync(string uniqueId, string folderName, CancellationToken token)
Parameter | Type | Description |
---|---|---|
uniqueId | String | The uid of the message |
folderName | String | Folder name where a message is to be copied |
token | CancellationToken | Propagates notification that operations should be canceled. |
Return Value
Task object, with delegate for this operation
See Also
- class ImapClient
- namespace Aspose.Email.Clients.Imap
- assembly Aspose.Email