WSFederationMessage.CreateFromUri(Uri) Method
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.
Creates a WS-Federation message from the specified URI. The parameters are assumed to be specified in the query string.
public:
static System::IdentityModel::Services::WSFederationMessage ^ CreateFromUri(Uri ^ requestUri);
public static System.IdentityModel.Services.WSFederationMessage CreateFromUri (Uri requestUri);
static member CreateFromUri : Uri -> System.IdentityModel.Services.WSFederationMessage
Public Shared Function CreateFromUri (requestUri As Uri) As WSFederationMessage
- requestUri
- Uri
The URI from which to create the message. Message parameters are specified in the query string. The wa parameter must be present.
The message that was created.
requestUri
is null
.
A message cannot be created from the specified URI.
Returns an appropriate implementation of WSFederationMessage based on the wa parameter in the query string; for example, if wa parameter is "wsignout1.0" then a SignOutRequestMessage object is returned.
Other exceptions may be thrown depending on the combination and values of parameters present in the query string.
Invokes the TryCreateFromUri method.
Produkt | Versioner |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Feedback om .NET
.NET är ett öppen källkod projekt. Välj en länk för att ge feedback: