MessageBody.SetPayloadFromStream Method (Stream, Int64)
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,
long offset
)
public:
void SetPayloadFromStream(
Stream^ sourceStream,
long long offset
)
Public Sub SetPayloadFromStream (
sourceStream As Stream,
offset As Long
)
Parameters
sourceStream
Type: System.IO.StreamThe source stream.
offset
Type: System.Int64The offset.
See Also
SetPayloadFromStream Overload
MessageBody Class
Microsoft.ConfigurationManagement.Messaging.Framework Namespace
Return to top