 | Pop3GetSizeByUIDAsync(String, CancellationToken) Method |
Returns the size (in bytes) of specified message in bytes.
Namespace: Limilabs.Client.POP3Assembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntaxpublic Task<long> GetSizeByUIDAsync(
string uid,
CancellationToken cancel = default
)
Public Function GetSizeByUIDAsync (
uid As String,
Optional cancel As CancellationToken = Nothing
) As Task(Of Long)
public:
Task<long long>^ GetSizeByUIDAsync(
String^ uid,
CancellationToken cancel = CancellationToken()
)
member GetSizeByUIDAsync :
uid : string *
?cancel : CancellationToken
(* Defaults:
let _cancel = defaultArg cancel new CancellationToken()
*)
-> Task<int64> Parameters
- uid String
- Unique-id of the message to get.
- cancel CancellationToken (Optional)
- A cancellation token that can be used to signal the asynchronous operation should be canceled.
Return Value
TaskInt64Size of the message.
Exceptions
See Also