MessageBody.SetPayloadFromStream Method (Stream)
Sets the payload from an existing stream.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public void SetPayloadFromStream(
Stream sourceStream
)
public:
void SetPayloadFromStream(
Stream^ sourceStream
)
Public Sub SetPayloadFromStream (
sourceStream As Stream
)
Parameters
sourceStream
Type: System.IO.StreamThe source stream.
See Also
SetPayloadFromStream Overload
MessageBody Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top