MessageBody.CopyPayloadToStream Method (Stream)
Copies the payload to an existing stream.
Namespace: Microsoft.ConfigurationManagement.Messaging.Framework
Assembly: Microsoft.ConfigurationManagement.Messaging (in Microsoft.ConfigurationManagement.Messaging.dll)
Syntax
public void CopyPayloadToStream(
Stream destinationStream
)
public:
void CopyPayloadToStream(
Stream^ destinationStream
)
Public Sub CopyPayloadToStream (
destinationStream As Stream
)
Parameters
destinationStream
Type: System.IO.StreamDestination stream.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Null stream. |
See Also
MessageBody Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top