ByteStreamMessage.CreateMessage Method (ArraySegment<Byte>)

.NET Framework (current version)
 

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