 | Pop3GetSizeByNumberAsync(CancellationToken) Method |
Returns the size (in bytes) of all messages. Keys are message numbers (starting from 1), value is the size of the message.
Namespace: Limilabs.Client.POP3Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntaxpublic Task<Dictionary<long, long>> GetSizeByNumberAsync(
CancellationToken cancel = default
)
Public Function GetSizeByNumberAsync (
Optional cancel As CancellationToken = Nothing
) As Task(Of Dictionary(Of Long, Long))
public:
Task<Dictionary<long long, long long>^>^ GetSizeByNumberAsync(
CancellationToken cancel = CancellationToken()
)
member GetSizeByNumberAsync :
?cancel : CancellationToken
(* Defaults:
let _cancel = defaultArg cancel new CancellationToken()
*)
-> Task<Dictionary<int64, int64>> Parameters
- cancel CancellationToken (Optional)
- A cancellation token that can be used to signal the asynchronous operation should be canceled.
Return Value
TaskDictionaryInt64,
Int64Key value collection, with message number as key and size as a value
Exceptions
See Also