WSTrustRequestBodyWriter Class

Definition

Represents a message body writer that writes an RST to an outgoing message.

public ref class WSTrustRequestBodyWriter : System::ServiceModel::Channels::BodyWriter
public class WSTrustRequestBodyWriter : System.ServiceModel.Channels.BodyWriter
type WSTrustRequestBodyWriter = class
    inherit BodyWriter
Public Class WSTrustRequestBodyWriter
Inherits BodyWriter
Inheritance
WSTrustRequestBodyWriter

Remarks

The WSTrustRequestBodyWriter class is an implementation of the BodyWriter class that supports RequestSecurityToken objects.

Constructors

WSTrustRequestBodyWriter(RequestSecurityToken, WSTrustRequestSerializer, WSTrustSerializationContext)

Initializes a new instance of the WSTrustRequestBodyWriter class.

Properties

IsBuffered

Gets a value that indicates whether the write method can be called multiple times.

(Inherited from BodyWriter)

Methods

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)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
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)

Provides an extensibility point when the body contents are written.

(Inherited from BodyWriter)
OnEndWriteBodyContents(IAsyncResult)

Raises an event when the body writer ends writing body contents.

(Inherited from BodyWriter)
OnWriteBodyContents(XmlDictionaryWriter)

Override of the base class method. Serializes the RST to the outgoing stream.

OnWriteBodyContentsAsync(XmlDictionaryWriter) (Inherited from BodyWriter)
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)

Applies to