StreamBodyWriter Class
An abstract base class used to create custom BodyWriter classes that can be used to a message body as a stream.
Assembly: System.ServiceModel.Web (in System.ServiceModel.Web.dll)
| Name | Description | |
|---|---|---|
![]() | StreamBodyWriter(Boolean) | Initializes a new instance of the StreamBodyWriter class. |
| Name | Description | |
|---|---|---|
![]() | IsBuffered | Gets a value that indicates whether the write method can be called multiple times.(Inherited from BodyWriter.) |
| Name | Description | |
|---|---|---|
![]() | BeginWriteBodyContents(XmlDictionaryWriter, AsyncCallback, Object) | Starts to write body contents for the body writer with specified writer, callback and state.(Inherited from BodyWriter.) |
![]() | CreateBufferedCopy(Int32) | Creates a buffered copy of the body.(Inherited from BodyWriter.) |
![]() | EndWriteBodyContents(IAsyncResult) | Ends the writing of body contents.(Inherited from BodyWriter.) |
![]() | Equals(Object) | Determines whether the specified object is equal to the current object.(Inherited from Object.) |
![]() | Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.) |
![]() | GetHashCode() | Serves as the default hash function. (Inherited from Object.) |
![]() | GetType() | |
![]() | MemberwiseClone() | |
![]() | OnBeginWriteBodyContents(XmlDictionaryWriter, AsyncCallback, Object) | Raises an event when the body writer starts to write body contents with specified writer, callback and state.(Inherited from BodyWriter.) |
![]() | OnCreateBufferedCopy(Int32) | Override this method to create a buffered copy of the stream.(Overrides BodyWriter.OnCreateBufferedCopy(Int32).) |
![]() | OnEndWriteBodyContents(IAsyncResult) | Raises an event when the body writer ends writing body contents.(Inherited from BodyWriter.) |
![]() | OnWriteBodyContents(Stream) | Override this method to handle writing the message body contents. |
![]() | OnWriteBodyContents(XmlDictionaryWriter) | Override this method to handle writing the message body contents.(Overrides BodyWriter.OnWriteBodyContents(XmlDictionaryWriter).) |
![]() | ToString() | Returns a string that represents the current object.(Inherited from Object.) |
![]() | WriteBodyContents(XmlDictionaryWriter) | Writes out the contents of the message body.(Inherited from BodyWriter.) |
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.


