Partager via


Message.OnCreateBufferedCopy Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

Syntax

'Declaration
Protected Overridable Function OnCreateBufferedCopy ( _
    maxBufferSize As Integer _
) As MessageBuffer
protected virtual MessageBuffer OnCreateBufferedCopy(
    int maxBufferSize
)

Parameters

  • maxBufferSize
    Type: System.Int32
    The maximum size of the buffer to be created.

Version Information

Silverlight

Supported in: 5, 4

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.