Message.OnCreateBufferedCopy(Int32) 方法

定义

创建消息缓冲区来存储此消息时调用。

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

要创建的缓冲区的最大大小。

返回

用于新创建消息副本的 MessageBuffer 对象。

适用于