FederationMessage Class

Definition

Defines the base class from which all federation message classes derive.

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

Notes to Inheritors

At a minimum, you must override the Write(TextWriter) method in derived classes, and you may choose to override the protected Validate() method.

Constructors

FederationMessage(Uri)

Called from constructors in derived classes to initialize the FederationMessage class.

Properties

BaseUri

Gets or sets the base URL to which the message applies.

Parameters

Gets the message parameters as a dictionary.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetBaseUrl(Uri)

Helper method that extracts the base URL from the specified URI.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetParameter(String)

Returns the specified parameter value from the parameters dictionary.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ParseQueryString(Uri)

Helper method that parses the query string in the specified URI into a NameValueCollection.

RemoveParameter(String)

Removes a parameter from the parameters dictionary.

SetParameter(String, String)

Sets the value of a parameter in the parameters dictionary.

SetUriParameter(String, String)

Sets the value of a parameter in the parameters dictionary. The value must be an absolute URI.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
Validate()

Validates the message.

Write(TextWriter)

When overridden in a derived class, writes the message to the output stream.

WriteFormPost()

Serializes the message as a form post and returns the resulting Form together with its Javascript as a string.

WriteQueryString()

Returns a string representation of the message in query-string format.

Applies to