MimeBlob Class

 

Builds a MimeBlob from a blob of data.

Namespace:   Microsoft.ConfigurationManagement.Messaging.Framework
Assembly:  Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)

Inheritance Hierarchy

System.Object
  Microsoft.ConfigurationManagement.Messaging.Framework.MimeBlob

Syntax

[SerializableAttribute]
public sealed class MimeBlob
[SerializableAttribute]
public ref class MimeBlob sealed 
<SerializableAttribute>
Public NotInheritable Class MimeBlob

Constructors

Name Description
System_CAPS_pubmethod MimeBlob(String, Byte[])

Initializes a new instance of the MimeBlob class. Creates a MimeBlob object from a header and the byte stream.

Properties

Name Description
System_CAPS_pubproperty ContentType

Gets the parsed content type.

System_CAPS_pubproperty ContentTypeHeader

Gets or sets the unparsed MIME header.

System_CAPS_pubproperty MimeSubtype

Gets or sets the subtype for the MIME type. For example, in an application/octet-stream, this value would be octet-stream.

System_CAPS_pubproperty MimeType

Gets the parsed MIME type.

System_CAPS_pubproperty RawPayload

Gets the raw byte stream for the data.

System_CAPS_pubproperty TextEncoding

Gets or sets the text encoding. The default value is Unicode (UTF-16).

Methods

Name Description
System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

Converts the byte stream into a string based on the specified encoding. If encoding is not specified, Unicode is used. (Overrides Object.ToString().)

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.ConfigurationManagement.Messaging.Framework Namespace

Return to top