System.ServiceModel.Channels.BodyWriter
namespace System.ServiceModel.Channels
{
public abstract class BodyWriter
{
public bool IsBuffered { get; }
protected BodyWriter(bool isBuffered);
public BodyWriter CreateBufferedCopy(int maxBufferSize);
protected virtual BodyWriter OnCreateBufferedCopy(int maxBufferSize);
protected abstract void OnWriteBodyContents(XmlDictionaryWriter writer);
protected virtual Task OnWriteBodyContentsAsync(XmlDictionaryWriter writer);
protected virtual IAsyncResult OnBeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state);
protected virtual void OnEndWriteBodyContents(IAsyncResult result);
public void WriteBodyContents(XmlDictionaryWriter writer);
public IAsyncResult BeginWriteBodyContents(XmlDictionaryWriter writer, AsyncCallback callback, object state);
public void EndWriteBodyContents(IAsyncResult result);
}
}