WSFederationMessage(Uri, String) Constructor
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.
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.