Multipart RelatedOpen(Uri) Method
Open a stream for reading the decoded content of the MIME part specified by the provided URI.
Definition
Namespace: MimeKit
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
A stream for reading the decoded content of the MIME part specified by the provided URI.
Assembly: MimeKit.Core (in MimeKit.Core.dll) Version: 5.0.0
C#
public Stream Open(
Uri uri
)Parameters
- uri Uri
- The URI.
Return Value
StreamA stream for reading the decoded content of the MIME part specified by the provided URI.
Implements
IMultipartRelatedOpen(Uri)Remarks
Opens a stream for reading the decoded content of the MIME part specified by the provided URI.
Exceptions
| ArgumentNullException | uri is . |
| FileNotFoundException | The MIME part for the specified URI could not be found. |
| ObjectDisposedException | The MultipartRelated has been disposed. |