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