Export (0) Print
Expand All

ByteStreamMessage.CreateMessage Method (ArraySegment<Byte>, BufferManager)

.NET Framework 4.5

Creates a byte stream message using the specified buffer data and buffer manager.

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

public static Message CreateMessage(
	ArraySegment<byte> buffer,
	BufferManager bufferManager
)

Parameters

buffer
Type: System.ArraySegment<Byte>

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

bufferManager
Type: System.ServiceModel.Channels.BufferManager

The BufferManager that manages the buffer to which the message is created.

Return Value

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

.NET Framework

Supported in: 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft