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

Generic file writer for an IMessage type

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

Syntax

                 
  C#     Visual Basic     Visual C++  
[
SerializableAttribute]
public 
abstract 
class 
MessageFile<T> : 

MessageFileBase
where T : 
class, 
IMessage
<
SerializableAttribute> _
Public 
MustInherit 
Class 
MessageFile(
Of T 
As {
Class, 
IMessage}) _
	
Inherits 

MessageFileBase
[
SerializableAttribute]
generic<
typename T>
where T : 
ref class, 
IMessage
public 
ref class 
MessageFile 
abstract : 
public 

MessageFileBase

Type Parameters

T
IMessage type

Members

                             
  All Members     Constructors      Properties      Methods      Explicit Interface Implementations   
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

  Member Description
MessageFile < (Of < ( <' T > ) > ) > (T)
Initializes a new instance of the MessageFile < (Of < ( <' T > ) > ) > class.
Discover () () () ()
Automatically discovers local information for sending message
(Inherited from MessageFileBase.)
Equals(Object) (Inherited from Object.)
FileSuffix
File suffix
(Inherited from MessageFileBase.)
Finalize () () () () (Inherited from Object.)
GenerateFileName () () () ()
Generates a random file name for the output file
(Inherited from MessageFileBase.)
GetHashCode () () () () (Inherited from Object.)
GetType () () () () (Inherited from Object.)
InboxName
Logical name for inbox. If inbox is not supported by the message, this can return null
(Inherited from MessageFileBase.)
MemberwiseClone () () () () (Inherited from Object.)
Serialize () () () ()
Serializes to a byte stream
(Overrides MessageFileBase . . :: . . Serialize () () () () .)
Serialize(Boolean)
Serializes to a byte stream
SerializeInlineMessage(Stream)
Inline data to be added to the payload after initial serialization if supported
(Inherited from MessageFileBase.)
SerializeMessage(Stream)
Serializes the implementing message into the bytestream for VarFile serialization
(Overrides MessageFileBase . . :: . . SerializeMessage(Stream).)
SerializeToFile(String)
Creates a file with a random file name and writes to the output path
(Overrides MessageFileBase . . :: . . SerializeToFile(String).)
SerializeToInbox () () () ()
Creates a file and writes directly to the appropriate inbox. If the Configuration Manager site server is not present on the local machine where this is run and HostNameis not set, an exception will be raised.
(Inherited from MessageFileBase.)
SerializeToInbox(String) Obsolete.
Creates a file and writes directly to the appropriate inbox. If the Configuration Manager site server is not present on the remote machine where this is run, an exception will be raised.
(Inherited from MessageFileBase.)
IMessageBase . . :: . . Settings
Message settings and properties
(Inherited from MessageFileBase.)
Settings
Message settings and properties
(Inherited from MessageFileBase.)
SourceMessage
IMessage source for file serialization
SupportsInbox
If true, inbox writing is supported for message
(Inherited from MessageFileBase.)
ToString () () () () (Inherited from Object.)
Validate () () () ()
Validates that all required properties are set for the message to be sent successfully
(Inherited from MessageFileBase.)

Inheritance Hierarchy

System . . :: . . Object
   Microsoft.ConfigurationManagement.Messaging.Framework . . :: . . MessageFileBase
     Microsoft.ConfigurationManagement.Messaging.Framework . . :: . . MessageFile < (Of < ( <' T > ) > ) >
       Microsoft.ConfigurationManagement.Messaging.Messages.Server . . :: . . StateMessageFile

See Also