  | IMailFolderGetBodyPartAsync(Int32, BodyPart, CancellationToken, ITransferProgress) Method | 
            Asynchronously get the specified body part.
            
Namespace: MailKitAssembly: MailKit (in MailKit.dll) Version: 4.12.1
SyntaxTask<MimeEntity> GetBodyPartAsync(
	int index,
	BodyPart part,
	CancellationToken cancellationToken = default,
	ITransferProgress progress = null
)
Parameters
- index  Int32
 - The index of the message.
 - part  BodyPart
 - The body part.
 - cancellationToken  CancellationToken  (Optional)
 - The cancellation token.
 - progress  ITransferProgress  (Optional)
 - The progress reporting mechanism.
 
Return Value
TaskMimeEntityThe body part.
Exceptions
Remarks
            Asynchronously gets the specified body part.
            
See Also