Message.OnCreateBufferedCopy(Int32) Message.OnCreateBufferedCopy(Int32) Message.OnCreateBufferedCopy(Int32) Message.OnCreateBufferedCopy(Int32) Method

定义

创建消息缓冲区来存储此消息时调用。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

参数

maxBufferSize
Int32 Int32 Int32 Int32

要创建的缓冲区的最大大小。The maximum size of the buffer to be created.

返回

用于新创建消息副本的 MessageBuffer 对象。A MessageBuffer object for the newly created message copy.

适用于