Helper method to create a Federation message from a URI. The parameters are assumed to be specified as a query string.
Namespace: Microsoft.IdentityModel.Protocols.WSFederation
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

Visual Basic
Dim requestUri As Uri
Dim returnValue As WSFederationMessage

returnValue = WSFederationMessage.CreateFromUri(requestUri)

Syntax

Visual Basic
Public Shared Function CreateFromUri ( _
		requestUri As Uri _
) As WSFederationMessage
C#
public static WSFederationMessage CreateFromUri (
		Uri requestUri
)
C++
public:
static WSFederationMessage^ CreateFromUri (
		Uri^ requestUri
)
J#
public static WSFederationMessage CreateFromUri (
		Uri requestUri
)
JScript
public static function CreateFromUri (
		requestUri : Uri
) : WSFederationMessage

Parameters

requestUri

The URI from which to create the message.

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