BodyWriter.OnCreateBufferedCopy Method (Int32)
Provides an extensibility point when the body contents are written.
Assembly: System.ServiceModel (in System.ServiceModel.dll)
A class derived from BodyWriter can override this method to create a buffered copy of the BodyWriter. But the default implementation of WriteBodyContents(XmlDictionaryWriter) calls OnWriteBodyContents(XmlDictionaryWriter), so overriding just OnWriteBodyContents(XmlDictionaryWriter) should be easier and work for most scenarios.
Available since 8
Available since 3.0
Portable Class Library
Supported in: portable .NET platforms
Available since 4.0