Click or drag to resize
MimeKit

MessagePartial Class

A MIME part containing a partial message as its content.
Inheritance Hierarchy
SystemObject
  MimeKitMimeEntity
    MimeKitMimePart
      MimeKitMessagePartial

Namespace: MimeKit
Assembly: MimeKit (in MimeKit.dll) Version: 4.7.1
Syntax
C#
public class MessagePartial : MimePart, 
	IMessagePartial, IMimePart, IMimeEntity, IDisposable

The MessagePartial type exposes the following members.

Constructors
 NameDescription
Public methodMessagePartial(MimeEntityConstructorArgs) Initialize a new instance of the MessagePartial class.
Public methodMessagePartial(String, Int32, Int32) Initialize a new instance of the MessagePartial class.
Top
Properties
 NameDescription
Public propertyCode exampleContent Get or set the MIME content.
(Inherited from MimePart)
Public propertyContentBase Get or set the base content URI.
(Inherited from MimeEntity)
Public propertyContentDescription Get or set the description of the content if available.
(Inherited from MimePart)
Public propertyContentDisposition Get or set the content disposition.
(Inherited from MimeEntity)
Public propertyContentDuration Get or set the duration of the content if available.
(Inherited from MimePart)
Public propertyContentId Get or set the Content-Id.
(Inherited from MimeEntity)
Public propertyContentLocation Get or set the content location.
(Inherited from MimeEntity)
Public propertyContentMd5 Get or set the md5sum of the content.
(Inherited from MimePart)
Public propertyContentTransferEncoding Get or set the content transfer encoding.
(Inherited from MimePart)
Public propertyContentType Get the type of the content.
(Inherited from MimeEntity)
Public propertyCode exampleFileName Get or set the name of the file.
(Inherited from MimePart)
Public propertyHeaders Get the list of headers.
(Inherited from MimeEntity)
Public propertyId Get the "id" parameter of the Content-Type header.
Public propertyIsAttachment Get a value indicating whether this MimePart is an attachment.
(Inherited from MimeEntity)
Public propertyNumber Get the "number" parameter of the Content-Type header.
Public propertyTotal Get the "total" parameter of the Content-Type header.
Top
Methods
 NameDescription
Public methodAccept Dispatches to the specific visit method for this MIME entity.
(Overrides MimePartAccept(MimeVisitor))
Public methodComputeContentMd5 Compute the MD5 checksum of the content.
(Inherited from MimePart)
Public methodDispose Releases all resources used by the MimeEntity object.
(Inherited from MimeEntity)
Protected methodDispose(Boolean) Releases the unmanaged resources used by the MimePart and optionally releases the managed resources.
(Inherited from MimePart)
Public methodEquals
(Inherited from Object)
Protected methodFinalize Releases unmanaged resources and performs other cleanup operations before the MimeEntity is reclaimed by garbage collection.
(Inherited from MimeEntity)
Public methodGetBestEncoding(EncodingConstraint, CancellationToken) Calculate the most efficient content encoding given the specified constraint.
(Inherited from MimePart)
Public methodGetBestEncoding(EncodingConstraint, Int32, CancellationToken) Calculate the most efficient content encoding given the specified constraint.
(Inherited from MimePart)
Public methodGetHashCode
(Inherited from Object)
Public methodGetType
(Inherited from Object)
Public methodStatic memberJoin(MimeMessage, IEnumerableMessagePartial) Join the specified message/partial parts into the complete message.
Public methodStatic memberJoin(ParserOptions, MimeMessage, IEnumerableMessagePartial) Join the specified message/partial parts into the complete message.
Protected methodMemberwiseClone
(Inherited from Object)
Protected methodOnHeadersChanged Called when the headers change in some way.
(Inherited from MimePart)
Public methodPrepare Prepare the MIME entity for transport using the specified encoding constraints.
(Inherited from MimePart)
Protected methodRemoveHeader Remove a header by name.
(Inherited from MimeEntity)
Protected methodSetHeader(String, Byte) Set the value of a header using the raw value.
(Inherited from MimeEntity)
Protected methodSetHeader(String, String) Set the value of a header.
(Inherited from MimeEntity)
Public methodStatic memberSplit Split a message into multiple messages.
Public methodToString Return a String that represents the MimeEntity for debugging purposes.
(Inherited from MimeEntity)
Protected methodTryInit Tries to use the given object to initialize the appropriate property.
(Inherited from MimeEntity)
Public methodVerifyContentMd5 Verify the Content-Md5 value against an independently computed md5sum.
(Inherited from MimePart)
Public methodWriteTo(Stream, CancellationToken) Write the MimeEntity to the specified output stream.
(Inherited from MimeEntity)
Public methodWriteTo(String, CancellationToken) Write the MimeEntity to the specified file.
(Inherited from MimeEntity)
Public methodWriteTo(FormatOptions, Stream, CancellationToken) Write the MimeEntity to the specified output stream.
(Inherited from MimeEntity)
Public methodWriteTo(FormatOptions, String, CancellationToken) Write the MimeEntity to the specified file.
(Inherited from MimeEntity)
Public methodWriteTo(Stream, Boolean, CancellationToken) Write the MimeEntity to the specified output stream.
(Inherited from MimeEntity)
Public methodWriteTo(String, Boolean, CancellationToken) Write the MimeEntity to the specified file.
(Inherited from MimeEntity)
Public methodWriteTo(FormatOptions, String, Boolean, CancellationToken) Write the MimeEntity to the specified file.
(Inherited from MimeEntity)
Public methodWriteTo(FormatOptions, Stream, Boolean, CancellationToken) Write the MimePart to the specified output stream.
(Inherited from MimePart)
Public methodWriteToAsync(Stream, CancellationToken) Asynchronously write the MimeEntity to the specified output stream.
(Inherited from MimeEntity)
Public methodWriteToAsync(String, CancellationToken) Asynchronously write the MimeEntity to the specified file.
(Inherited from MimeEntity)
Public methodWriteToAsync(FormatOptions, Stream, CancellationToken) Asynchronously write the MimeEntity to the specified output stream.
(Inherited from MimeEntity)
Public methodWriteToAsync(FormatOptions, String, CancellationToken) Asynchronously write the MimeEntity to the specified file.
(Inherited from MimeEntity)
Public methodWriteToAsync(Stream, Boolean, CancellationToken) Asynchronously write the MimeEntity to the specified output stream.
(Inherited from MimeEntity)
Public methodWriteToAsync(String, Boolean, CancellationToken) Asynchronously write the MimeEntity to the specified file.
(Inherited from MimeEntity)
Public methodWriteToAsync(FormatOptions, String, Boolean, CancellationToken) Asynchronously write the MimeEntity to the specified file.
(Inherited from MimeEntity)
Public methodWriteToAsync(FormatOptions, Stream, Boolean, CancellationToken) Asynchronously write the MimePart to the specified output stream.
(Inherited from MimePart)
Top
Remarks

The "message/partial" MIME-type is used to split large messages into multiple parts, typically to work around transport systems that have size limitations (for example, some SMTP servers limit have a maximum message size that they will accept).

See Also