Pop3.GetMessageSequenceNumberAsync Method
Namespace: Rebex.Net
Assembly: Rebex.Pop3.dll (version 7.0.9083)
GetMessageSequenceNumberAsync(String, Object)
Begins asynchronous GetMessageSequenceNumber operation. Converts a unique ID to sequence number. Returns the sequence number of the specified message, or null (Nothing in VB.NET) if not found.
Declaration
public Task<int?> GetMessageSequenceNumberAsync(string uniqueId, object state = null)
Parameters
Type | Name | Description |
---|---|---|
String | uniqueId | Unique ID of the message. |
Object | state | An optional user-provided object that identifies this particular asynchronous operation. |
Returns
Type | Description |
---|---|
Task<Nullable<Int32>> | Sequence number of the specified message, or null (Nothing in VB.NET) if not found. |