Helper method to create a Federation message from a Form Post received in the HttpRequest.
Namespace: Microsoft.IdentityModel.Protocols.WSFederation
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim request As HttpRequest
Dim returnValue As WSFederationMessage

returnValue = WSFederationMessage.CreateFromFormPost(request)

Syntax

Visual Basic
Public Shared Function CreateFromFormPost ( _
		request As HttpRequest _
) As WSFederationMessage
C#
public static WSFederationMessage CreateFromFormPost (
		HttpRequest request
)
C++
public:
static WSFederationMessage^ CreateFromFormPost (
		HttpRequest^ request
)
J#
public static WSFederationMessage CreateFromFormPost (
		HttpRequest request
)
JScript
public static function CreateFromFormPost (
		request : HttpRequest
) : WSFederationMessage

Parameters

request

The request that contains the Form Post.

Return Value

WSFederation message instance or null if the message cannot be created.

Thread Safety

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

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

See Also