MimePartContentDescription Members

Include Protected Members
Include Inherited Members

Represents a part of a MIME body of a SIP message. A part can represent SDP part or a custom part or a mime/alternative part or a mime/mixed part of a mime body.

The MimePartContentDescription type exposes the following members.

Constructors

  Name Description
Public method MimePartContentDescription Creates a new instance of the MimePartContentDescription class.

Top

Properties

  Name Description
Public property Children Gets a collection of MIME parts contained in a MIME/mixed or MIME/alternative body. This collection is empty when the Content-Type of the MIME part differs from multipart/mixed or multipart/alternative.
Public property ContentDispositionHeader Gets or sets the Content-Disposition header of the MIME part.
Public property ContentDispositionType Gets or sets the Content-Disposition of the MIME part.
Public property ContentId Gets or sets the Content-ID of the MIME part. Can be null.
Public property ContentIdHeader Gets or sets the Content-ID header of the MIME part. Can be null when the Content-ID header is missing.
Public property ContentType Gets or sets the ContentType for the body or null if none is specified. (inherited from ContentDescription)
Public property ContentTypeHeader Gets the Content-Type header of the MIME part.
Public property IsHandlingRequired Gets or sets whether the handling of the MIME part is required.
Public property Parent Gets the parent of the MIME part. The parent MIME part can be null when the MIME part is the top node.
Public property SignalingHeaders Gets the list of signaling headers including Content-Id, Content-Type, and Content-Disposition.

Top

Methods

  Name Description
Public method Add Adds one MIME part to the end of the child MIME part list.
Public method Equals (inherited from Object)
Protected method Finalize (inherited from Object)
Public method GetBody Represents the body in byte or null, if there is none. (inherited from ContentDescription)
Public method GetHashCode (inherited from Object)
Public method GetType (inherited from Object)
Protected method MemberwiseClone (inherited from Object)
Protected method RecomputeBody Recomputes the body of this instance. (Overrides ContentDescription.RecomputeBody().)
Public method Remove Removes the first occurrence of a MIME part from the list of child MIME parts.
Public method RemoveAt Removes the MIME part located at the specified index of the list of child MIME parts.
Public method SetBody Sets the body content. (inherited from ContentDescription)
Public method ToString Represents MediaDescription as a string. (inherited from ContentDescription)

Top

Fields

  Name Description
Public fieldStatic member ContentDispositionType_Alert Indicates that the MIME part is a custom ring tone to alert the user.
Public fieldStatic member ContentDispositionType_Icon Indicates that the MIME part should be displayed to the user as an icon.
Public fieldStatic member ContentDispositionType_Inline Indicates that the MIME part should be displayed automatically.
Public fieldStatic member ContentDispositionType_Render Indicates that the MIME part should be displayed to the user.
Public fieldStatic member ContentDispositionType_Session Indicates that the MIME part describes a communication session.

Top

See Also

Reference

MimePartContentDescription Class

Microsoft.Rtc.Collaboration Namespace