Export (0) Print
Expand All

WSFederationMessage Constructor

.NET Framework 4.5

Initializes a new instance of the WSFederationMessage class from the base URL to which the message applies and the action to be performed (the wa message parameter).

Namespace:  System.IdentityModel.Services
Assembly:  System.IdentityModel.Services (in System.IdentityModel.Services.dll)

public WSFederationMessage(
	Uri baseUrl,
	string action


Type: System.Uri

The base URL to which the WS-Federation message applies. This is the URL without any query parameters. Sets the BaseUri property.

Type: System.String

The wa parameter of the message. Specifies the action to be performed; for example “wsignin1.0” for a WS-Federation sign-in request. Sets the Action property.


baseUri is null.


action is null or an empty string.


baseUri is not a valid, absolute URI.

.NET Framework

Supported in: 4.5

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

© 2014 Microsoft