Export (0) Print
Expand All

FederationMessage Class

.NET Framework 4.5

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


Namespace:  System.IdentityModel.Services
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

public abstract class FederationMessage

The FederationMessage type exposes the following members.

Protected methodFederationMessageCalled from constructors in derived classes to initialize the FederationMessage class.

Public propertyBaseUriGets or sets the base URL to which the message applies.
Public propertyParametersGets the message parameters as a dictionary.

Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodStatic memberGetBaseUrlHelper method that extracts the base URL from the specified URI.
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetParameterReturns the specified parameter value from the parameters dictionary.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodStatic memberParseQueryStringHelper method that parses the query string in the specified URI into a NameValueCollection.
Public methodRemoveParameterRemoves a parameter from the parameters dictionary.
Public methodSetParameterSets the value of a parameter in the parameters dictionary.
Public methodSetUriParameterSets the value of a parameter in the parameters dictionary. The value must be an absolute URI.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Protected methodValidateValidates the message.
Public methodWriteWhen overridden in a derived class, writes the message to the output stream.
Public methodWriteFormPostSerializes the message as a form post and returns the resulting Form together with its Javascript as a string.
Public methodWriteQueryStringReturns a string representation of the message in query-string format.

Notes to Inheritors

At a minimum, you must override the ProviderIdentifier property and the Write method in derived classes.

.NET Framework

Supported in: 4.6, 4.5

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