 | ImapPeekDataByNumberAsync(MimeStructure, Int64, CancellationToken) Method |
Namespace: Limilabs.Client.IMAPAssembly: Mail (in Mail.dll) Version: 3.0.26106.1555
Syntaxpublic Task<byte[]> PeekDataByNumberAsync(
MimeStructure structure,
long count,
CancellationToken cancel = default
)
Public Function PeekDataByNumberAsync (
structure As MimeStructure,
count As Long,
Optional cancel As CancellationToken = Nothing
) As Task(Of Byte())
public:
Task<array<unsigned char>^>^ PeekDataByNumberAsync(
MimeStructure^ structure,
long long count,
CancellationToken cancel = CancellationToken()
)
member PeekDataByNumberAsync :
structure : MimeStructure *
count : int64 *
?cancel : CancellationToken
(* Defaults:
let _cancel = defaultArg cancel new CancellationToken()
*)
-> Task<byte[]> Parameters
- structure MimeStructure
- MIME entity to get data for.
- count Int64
- Number of bytes (decoded) to get.
- cancel CancellationToken (Optional)
- A cancellation token that can be used to signal the asynchronous operation should be canceled.
Return Value
TaskBytePart's data -or- null if server responds with NIL response.
See Also