Redigera

Dela via


WSTrustRequestSerializer Class

Definition

The abstract base class that defines methods for serializing and deserializing versions of WS-Trust request (RST) messages.

public ref class WSTrustRequestSerializer abstract
public abstract class WSTrustRequestSerializer
type WSTrustRequestSerializer = class
Public MustInherit Class WSTrustRequestSerializer
Inheritance
WSTrustRequestSerializer
Derived

Constructors

WSTrustRequestSerializer()

Initializes a new instance of the WSTrustRequestSerializer class.

Methods

CanRead(XmlReader)

When overridden in a derived class, checks if the specified XML reader is positioned at a WS-Trust RequestSecurityToken element.

CreateRequestSecurityToken()

Creates an instance of the RequestSecurityToken class that this class can serialize or deserialize.

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)
ReadCustomElement(XmlReader, WSTrustSerializationContext)

When overridden in a derived class, reads a custom element.

ReadXml(XmlReader, WSTrustSerializationContext)

When overridden in a derived class, deserializes the RST from an XmlReader object to a RequestSecurityToken object.

ReadXmlElement(XmlReader, RequestSecurityToken, WSTrustSerializationContext)

When overridden in a derived class, reads a child element inside the RST.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
Validate(RequestSecurityToken)

Validates the RequestSecurityToken object that has been deserialized.

WriteKnownRequestElement(RequestSecurityToken, XmlWriter, WSTrustSerializationContext)

When overridden in a derived class, writes the supported elements on the RequestSecurityToken object to the stream.

WriteXml(RequestSecurityToken, XmlWriter, WSTrustSerializationContext)

When overridden in a derived class, serializes the specified RequestSecurityToken object into the XmlWriter object.

WriteXmlElement(XmlWriter, String, Object, RequestSecurityToken, WSTrustSerializationContext)

When overridden in a derived class, writes a child element inside the RST.

Applies to