WSFederationMessage(Uri, String) Constructor

Definition

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).

public:
 WSFederationMessage(Uri ^ baseUrl, System::String ^ action);
public WSFederationMessage (Uri baseUrl, string action);
new System.IdentityModel.Services.WSFederationMessage : Uri * string -> System.IdentityModel.Services.WSFederationMessage
Public Sub New (baseUrl As Uri, action As String)

Parameters

baseUrl
Uri

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

action
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.

Exceptions

baseUri is null.

action is null or an empty string.

baseUri is not a valid, absolute URI.

Applies to