Defines the base class from which all the Federation messages classes derive.
下表列出了 WSFederationMessage 类型公开的成员。
Protected 构造函数
| 名称 | 说明 | |
|---|---|---|
| WSFederationMessage | Initializes an instance of WSFederationMessage. |
页首
Public 属性
| 名称 | 说明 | |
|---|---|---|
![]() |
Action | Gets or sets the wa parameter of the message. |
![]() |
BaseUri | |
![]() |
Context | Gets or sets the wctx parameter of the message. |
![]() |
Encoding | Gets or sets the Encoding to be used for any XML embedded in the message. |
![]() |
Parameters | Get the message parameters as a Dictionary. |
页首
Public 方法
(另请参阅 Protected 方法)
| 名称 | 说明 | |
|---|---|---|
![]() ![]() |
CreateFromFormPost | Helper method to create a Federation message from a Form Post received in the HttpRequest. |
![]() ![]() |
CreateFromNameValueCollection | Creates a Federation from a NameValueCollection of parameters. |
![]() ![]() |
CreateFromUri | Helper method to create a Federation message from a URI. The parameters are assumed to be specified as a query string. |
![]() |
Equals | 已重载。 (从 Object 继承) |
![]() ![]() |
GetBaseUrl | Helper method that extracts the BaseUrl for a given Uri. |
![]() |
GetHashCode | (从 Object 继承) |
![]() |
GetParameter | Returns the given parameter value from the Parameters Dictionary. |
![]() |
GetType | (从 Object 继承) |
![]() ![]() |
ParseQueryString | Helper method to parse the query string in the URI into a NameValueCollection. |
![]() ![]() |
ReferenceEquals | (从 Object 继承) |
![]() |
RemoveParameter | Removes a parameter from the Parameter dictionary. |
![]() |
SetParameter | Sets a parameter to the Parameters Dictionary. |
![]() |
SetUriParameter | Sets a parameter to the Parameters Dictionary, which must be an absolute URI. |
![]() |
ToString | (从 Object 继承) |
![]() ![]() |
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. |
![]() |
Write | Abstract Write method that all Federation messages override. |
![]() |
WriteFormPost | Writes the message parameter as a Form Post and returns the resulting Form along with the Javascript as a string. |
![]() |
WriteQueryString | Writes the Messages parameters as a query string and returns this as a String. |
页首
Protected 方法
| 名称 | 说明 | |
|---|---|---|
![]() |
Finalize | (从 Object 继承) |
![]() |
MemberwiseClone | (从 Object 继承) |
![]() |
Validate | Validates the message. Checks if a valid BaseUrl has been specified. |
页首
请参见
参考
WSFederationMessage 类
Microsoft.IdentityModel.Protocols.WSFederation 命名空间
版权所有 (C) 2008 Microsoft Corporation。保留所有权利。
.gif)
.gif)
.gif)
.gif)