共用方式為


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 物件。

適用於