Export (0) Print
Expand All

ByteStreamMessage.CreateMessage Method (ArraySegment<Byte>)

.NET Framework 4.5

Creates a byte stream message using the specified buffer data.

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel.Channels (in System.ServiceModel.Channels.dll)

public static Message CreateMessage(
	ArraySegment<byte> buffer
)

Parameters

buffer
Type: System.ArraySegment<Byte>

The buffer that provides data for the message to be created.

Return Value

Type: System.ServiceModel.Channels.Message
A Message object for the message created.

.NET Framework

Supported in: 4.6, 4.5
Show:
© 2015 Microsoft