[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Message Body

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

Syntax

                 
  C#     Visual Basic     Visual C++  
[
SerializableAttribute]
public 
sealed 
class 
MessageBody : 
IDisposable, 
	
ISerializable
<
SerializableAttribute> _
Public 
NotInheritable 
Class 
MessageBody _
	
Implements 
IDisposable, 
ISerializable
[
SerializableAttribute]
public 
ref class 
MessageBody 
sealed : 
IDisposable, 
	
ISerializable

Members

                       
  All Members     Constructors      Properties      Methods   
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

  Member Description
MessageBody () () () ()
Initializes a new instance of the MessageBodyclass.
MessageBody( array< Byte > [] () [] [] )
Initializes a new instance of the MessageBodyclass. Builds a body from a raw byte stream
MessageBody(String)
Initializes a new instance of the MessageBodyclass.
Compress < (Of < <' ( T > ) > > ) () () () ()
Compresses the payload using a compressor
Compress(Type)
Inline compression
CopyPayloadToStream(Stream)
Copies payload to an existing stream
Decompress < (Of < <' ( T > ) > > ) () () () ()
Decompresses the payload using a compressor
Decompress(Type)
Inline decompression
Dispose () () () ()
IDisposable implementation
Equals(Object) (Inherited from Object.)
Finalize () () () () (Inherited from Object.)
GetHashCode () () () () (Inherited from Object.)
GetObjectData(SerializationInfo, StreamingContext)
Controls object serialization
GetRawPayload () () () ()
Gets the raw payload as a byte array. This is a copy of the internal payload, setting this will not change the internal payload. You must use SetRawPayload to overwrite the internal payload.
GetType () () () () (Inherited from Object.)
MemberwiseClone () () () () (Inherited from Object.)
Payload
Get/Set the message payload
PayloadEncoding
Gets the encoding for the payload. Default is UTF-16 (Unicode)
PayloadHasChanged
Has payload changed since data was last read
PayloadSize
Gets the size of the payload in bytes
PayloadStream
Stream containing the raw payload
SetPayloadFromStream(Stream)
Sets payload from an existing stream
SetPayloadFromStream(Stream, Int64)
Sets payload from an existing stream
SetRawPayload( array< Byte > [] () [] [] )
Sets the raw payload
StripUnicodeBom () () () ()
Strips unicode BOM inline to payload
ToString () () () ()
Returns the payload for the message
(Overrides Object . . :: . . ToString () () () () .)

Inheritance Hierarchy

System . . :: . . Object
   Microsoft.ConfigurationManagement.Messaging.Framework . . :: . . MessageBody

See Also