PowerTCP Mail for .NET
MessageStream Constructor(Stream)
See Also  Send comments on this topic.
Dart.PowerTCP.Mail Namespace > MessageStream Class > MessageStream Constructor : MessageStream Constructor(Stream)




message
A Stream object containing encoded message data.
Initializes a new instance of the MessageStream object with an encoded message.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal message As Stream _
)
Visual Basic (Usage)Copy Code
Dim message As Stream
 
Dim instance As New MessageStream(message)
C# 
public MessageStream( 
   Stream message
)
Managed Extensions for C++ 
public: MessageStream( 
   Stream* message
)
C++/CLI 
public:
MessageStream( 
   Stream^ message
)

Parameters

message
A Stream object containing encoded message data.

Remarks

message should be a Stream containing encoded message data. This constructor fills the MessageStream object with the input message, breaking it up into its component parts, and decoding it where necessary. This method stops when it hits the end of Stream. This constructor is intended to be used when loading an encoded message from a stream, such as a Stream filled by the Store method.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 3.2
© 2010 Dart Communications. All Rights Reserved.