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

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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
Available since 4.5
Return to top
Show: