Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

BrokeredMessage Constructor (Stream, Boolean)

Initializes a new instance of the BrokeredMessage class using the supplied stream as its body.

Namespace:  Microsoft.ServiceBus.Messaging
Assembly:  Microsoft.ServiceBus (in Microsoft.ServiceBus.dll)
public BrokeredMessage(
	Stream messageBodyStream,
	bool ownsStream
)

Parameters

messageBodyStream
Type: System.IO.Stream
The message body stream.
ownsStream
Type: System.Boolean
true to indicate that the stream will be closed when the message is closed; false to indicate that the stream will not be closed when the message is closed.
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.