WSFederationMessage.CreateFromFormPost(HttpRequestBase) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a WS-Federation message from the form post received in the specified request.
public:
static System::IdentityModel::Services::WSFederationMessage ^ CreateFromFormPost(System::Web::HttpRequestBase ^ request);
public static System.IdentityModel.Services.WSFederationMessage CreateFromFormPost (System.Web.HttpRequestBase request);
static member CreateFromFormPost : System.Web.HttpRequestBase -> System.IdentityModel.Services.WSFederationMessage
Public Shared Function CreateFromFormPost (request As HttpRequestBase) As WSFederationMessage
Parameters
- request
- HttpRequestBase
The request that contains the form post.
Returns
The message that was created or null
if a message cannot be created.
Exceptions
request
is null
.
Remarks
If a message can be created, the method returns an appropriate implementation of WSFederationMessage based on the wa parameter submitted in the form post; for example, if wa parameter is "wsignout1.0" then a SignOutRequestMessage object is returned.
Gets the base URL and the collection of form variables submitted by the client from the request and invokes the CreateFromNameValueCollection method.