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

В следующей таблице перечислены члены, предоставляемые типом WSFederationMessage.

Защищенный Конструкторы

  Имя Описание
WSFederationMessage Initializes an instance of WSFederationMessage.
Вверх

Открытый Свойства

  Имя Описание
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.
Вверх

Открытый Методы (см. также Защищенный Методы)

  Имя Описание
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  Перегружено. (унаследовано от Object)
public methodstatic GetBaseUrl Helper method that extracts the BaseUrl for a given Uri.
public method GetHashCode  (унаследовано от Object)
public method GetParameter Returns the given parameter value from the Parameters Dictionary.
public method GetType  (унаследовано от Object)
public methodstatic ParseQueryString Helper method to parse the query string in the URI into a NameValueCollection.
public methodstatic ReferenceEquals  (унаследовано от 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  (унаследовано от 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.
Вверх

Защищенный Методы

  Имя Описание
protected method Finalize  (унаследовано от Object)
protected method MemberwiseClone  (унаследовано от Object)
protected method Validate Validates the message. Checks if a valid BaseUrl has been specified.
Вверх

См. также




© Корпорация Майкрософт (Microsoft Corporation), 2008.Все права защищены.