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 | |
---|---|---|
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 | |
---|---|---|
ContentType | Gets the parsed content type. |
|
ContentTypeHeader | Gets or sets the unparsed MIME header. |
|
MimeSubtype | Gets or sets the subtype for the MIME type. For example, in an application/octet-stream, this value would be octet-stream. |
|
MimeType | Gets the parsed MIME type. |
|
RawPayload | Gets the raw byte stream for the data. |
|
TextEncoding | Gets or sets the text encoding. The default value is Unicode (UTF-16). |
Methods
Name | Description | |
---|---|---|
Equals(Object) | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetType() | (Inherited from Object.) |
|
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