Defines the base class from which all the Federation messages classes derive.

The following tables list the members exposed by the WSFederationMessage type.

Protected Constructors

  Name Description
WSFederationMessage Initializes an instance of WSFederationMessage.
Top

Public Properties

  Name Description
public property Action Gets or sets the wa parameter of the message.
public property BaseUri  
public property Context Gets or sets the wctx parameter of the message.
public property Encoding Gets or sets the Encoding to be used for any XML embedded in the message.
public property Parameters Get the message parameters as a Dictionary.
Top

Public Methods (see also Protected Methods)

  Name Description
public methodstatic CreateFromFormPost Helper method to create a Federation message from a Form Post received in the HttpRequest.
public methodstatic CreateFromNameValueCollection Creates a Federation from a NameValueCollection of parameters.
public methodstatic CreateFromUri Helper method to create a Federation message from a URI. The parameters are assumed to be specified as a query string.
public method Equals  Overloaded. (Inherited from Object)
public methodstatic GetBaseUrl Helper method that extracts the BaseUrl for a given Uri.
public method GetHashCode  (Inherited from Object)
public method GetParameter Returns the given parameter value from the Parameters Dictionary.
public method GetType  (Inherited from Object)
public methodstatic ParseQueryString Helper method to parse the query string in the URI into a NameValueCollection.
public methodstatic ReferenceEquals  (Inherited from Object)
public method RemoveParameter Removes a parameter from the Parameter dictionary.
public method SetParameter Sets a parameter to the Parameters Dictionary.
public method SetUriParameter Sets a parameter to the Parameters Dictionary, which must be an absolute URI.
public method ToString  (Inherited from Object)
public methodstatic TryCreateFromUri Helper method to create a Federation message from a URI. The parameters are assumed to be specified as a query string. A return value indicates whether the operation succeeded.
public method Write Abstract Write method that all Federation messages override.
public method WriteFormPost Writes the message parameter as a Form Post and returns the resulting Form along with the Javascript as a string.
public method WriteQueryString Writes the Messages parameters as a query string and returns this as a String.
Top

Protected Methods

  Name Description
protected method Finalize  (Inherited from Object)
protected method MemberwiseClone  (Inherited from Object)
protected method Validate Validates the message. Checks if a valid BaseUrl has been specified.
Top

See Also




Copyright © 2008 by Microsoft Corporation. All rights reserved.