Edit

Share via


Message.OnCreateBufferedCopy(Int32) Method

Definition

Called when a message buffer is created to store this message.

protected:
 virtual System::ServiceModel::Channels::MessageBuffer ^ OnCreateBufferedCopy(int maxBufferSize);
protected virtual System.ServiceModel.Channels.MessageBuffer OnCreateBufferedCopy (int maxBufferSize);
abstract member OnCreateBufferedCopy : int -> System.ServiceModel.Channels.MessageBuffer
override this.OnCreateBufferedCopy : int -> System.ServiceModel.Channels.MessageBuffer
Protected Overridable Function OnCreateBufferedCopy (maxBufferSize As Integer) As MessageBuffer

Parameters

maxBufferSize
Int32

The maximum size of the buffer to be created.

Returns

A MessageBuffer object for the newly created message copy.

Applies to