StreamBodyWriter Class
TOC
Collapse the table of content
Expand the table of content

StreamBodyWriter Class

.NET Framework (current version)
 

An abstract base class used to create custom BodyWriter classes that can be used to a message body as a stream.

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

System.Object
  System.ServiceModel.Channels.BodyWriter
    System.ServiceModel.Channels.StreamBodyWriter

public abstract class StreamBodyWriter : BodyWriter

NameDescription
System_CAPS_protmethodStreamBodyWriter(Boolean)

Initializes a new instance of the StreamBodyWriter class.

NameDescription
System_CAPS_pubpropertyIsBuffered

Gets a value that indicates whether the write method can be called multiple times.(Inherited from BodyWriter.)

NameDescription
System_CAPS_pubmethodBeginWriteBodyContents(XmlDictionaryWriter, AsyncCallback, Object)

Starts to write body contents for the body writer with specified writer, callback and state.(Inherited from BodyWriter.)

System_CAPS_pubmethodCreateBufferedCopy(Int32)

Creates a buffered copy of the body.(Inherited from BodyWriter.)

System_CAPS_pubmethodEndWriteBodyContents(IAsyncResult)

Ends the writing of body contents.(Inherited from BodyWriter.)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnBeginWriteBodyContents(XmlDictionaryWriter, AsyncCallback, Object)

Raises an event when the body writer starts to write body contents with specified writer, callback and state.(Inherited from BodyWriter.)

System_CAPS_protmethodOnCreateBufferedCopy(Int32)

Override this method to create a buffered copy of the stream.(Overrides BodyWriter.OnCreateBufferedCopy(Int32).)

System_CAPS_protmethodOnEndWriteBodyContents(IAsyncResult)

Raises an event when the body writer ends writing body contents.(Inherited from BodyWriter.)

System_CAPS_protmethodOnWriteBodyContents(Stream)

Override this method to handle writing the message body contents.

System_CAPS_protmethodOnWriteBodyContents(XmlDictionaryWriter)

Override this method to handle writing the message body contents.(Overrides BodyWriter.OnWriteBodyContents(XmlDictionaryWriter).)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodWriteBodyContents(XmlDictionaryWriter)

Writes out the contents of the message body.(Inherited from BodyWriter.)

.NET Framework
Available since 4.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft