Sdílet prostřednictvím


MimeReader Members

The MimeReader class returns information about a MIME stream.

The following tables list the members exposed by the MimeReader type.

Public Constructors

  Name Description
MimeReader Overloaded. The MimeReader constructor overloads create new MimeReader objects.

Top

Public Properties

  Name Description
Aa566102.pubproperty(en-us,EXCHG.80).gif ComplianceStatus The ComplianceStatus property indicates which errors were found in the incoming MIME document or that the MIME document is compliant.
Aa566102.pubproperty(en-us,EXCHG.80).gif ContentType The ContentType property gets the content type of the current part.
Aa566102.pubproperty(en-us,EXCHG.80).gif EmbeddedDepth The EmbeddedDepth property gets an integer that represents the depth to which the current message is embedded.
Aa566102.pubproperty(en-us,EXCHG.80).gif HeaderDecodingOptions The HeaderDecodingOptions property gets a DecodingOptions structure that specifies how to decode incoming headers.
Aa566102.pubproperty(en-us,EXCHG.80).gif HeaderReader The HeaderReader property gets a MimeHeaderReader structure that returns information about the headers in this MimeReader object.
Aa566102.pubproperty(en-us,EXCHG.80).gif InlineFileName The InlineFileName property gets the name of an inline file attachment.
Aa566102.pubproperty(en-us,EXCHG.80).gif IsEmbeddedMessage The IsEmbeddedMessage property gets a Boolean value indicates whether the current message is embedded at least one level deep in another message.
Aa566102.pubproperty(en-us,EXCHG.80).gif IsInline The IsInline property gets a Boolean value that indicates whether the current part is an inline attachment.
Aa566102.pubproperty(en-us,EXCHG.80).gif IsMultipart The IsMultipart property gets a Boolean value that indicates whether the current MIME part is simple or multipart.
Aa566102.pubproperty(en-us,EXCHG.80).gif MimeLimits The MimeLimits property gets a MimeLimits object that controls the complexity that this MimeReader object will allow.
Aa566102.pubproperty(en-us,EXCHG.80).gif PartDepth The PartDepth parameter gets an integer that represents the depth of nesting of the current MIME part.
Aa566102.pubproperty(en-us,EXCHG.80).gif StreamOffset The StreamOffset parameter gets a value that indicates the number of bytes that this MimeReader object has read from its input stream.

Top

Public Methods

(see also Protected Methods )

  Name Description
Aa566102.pubmethod(en-us,EXCHG.80).gif Close The Close method closes the current stream and releases any resources (such as sockets and file handles) that are associated with the current stream.
Aa566102.pubmethod(en-us,EXCHG.80).gif CopyOuterContentTo The CopyOuterContentTo method copies a whole MIME part, both headers and content, into stream.
Aa566102.pubmethod(en-us,EXCHG.80).gif Dispose Overloaded. The Dispose overload releases the resources that are used by the MimeReader.
Aa566102.pubmethod(en-us,EXCHG.80).gif EnableReadingUnparsedHeaders The EnableReadingUnparsedHeaders method makes the unparsed headers available for reading.
Aa566102.pubmethod(en-us,EXCHG.80).gif Equals  Overloaded. (inherited from Object )
Aa566102.pubmethod(en-us,EXCHG.80).gif GetContentReadStream The GetContentReadStream method returns a stream that contains the content of the current part body.
Aa566102.pubmethod(en-us,EXCHG.80).gif GetEmbeddedMessageReader The GetEmbeddedMessageReader method returns a MimeReader object for an embedded message.
Aa566102.pubmethod(en-us,EXCHG.80).gif GetHashCode  (inherited from Object )
Aa566102.pubmethod(en-us,EXCHG.80).gif GetRawContentReadStream The GetRawContentReadStream method returns a stream that contains the content of the current part body.
Aa566102.pubmethod(en-us,EXCHG.80).gif GetType  (inherited from Object )
Aa566102.pubmethod(en-us,EXCHG.80).gif ReadContent The ReadContent method reads at most count bytes into buffer, starting at offset bytes.
Aa566102.pubmethod(en-us,EXCHG.80).gif ReadFirstChildPart The ReadFirstChildPart method moves to the start of the first child part within the current part.
Aa566102.pubmethod(en-us,EXCHG.80).gif ReadHeaders The ReadHeaders method moves to the beginning of the current part, which allows for the reading of the headers for the current part.
Aa566102.pubmethod(en-us,EXCHG.80).gif ReadNextPart The ReadNextPart method moves to the next part in the MIME source stream.
Aa566102.pubmethod(en-us,EXCHG.80).gif ReadNextSiblingPart The ReadNextSiblingPart method moves the current position to the next sibling of the current part.
Aa566102.pubmethod(en-us,EXCHG.80).gif ReadRawContent The ReadRawContent method reads at most count bytes into buffer, without decoding them, starting at offset bytes.
Aa566102.pubmethod(en-us,EXCHG.80).gifAa566102.static(en-us,EXCHG.80).gif ReferenceEquals  (inherited from Object )
Aa566102.pubmethod(en-us,EXCHG.80).gif ResetComplianceStatus The ResetComplianceStatus method resets the MimeComplianceStatus of the reader to Compliant.
Aa566102.pubmethod(en-us,EXCHG.80).gif ToString  (inherited from Object )
Aa566102.pubmethod(en-us,EXCHG.80).gif TryGetContentReadStream The TryGetContentReadStream method gets a stream that contains the content of the current part body.

Top

Protected Methods

  Name Description
Aa566102.protmethod(en-us,EXCHG.80).gif Dispose Overloaded.  
Aa566102.protmethod(en-us,EXCHG.80).gif Finalize  (inherited from Object )
Aa566102.protmethod(en-us,EXCHG.80).gif MemberwiseClone  (inherited from Object )

Top