FederationMessage.GetParameter Method (String)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Returns the specified parameter value from the parameters dictionary.

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

public string GetParameter(
	string parameter
)

Parameters

parameter
Type: System.String

The parameter for which to search.

Return Value

Type: System.String

The value of the parameter or null if the parameter does not exist.

Exception Condition
ArgumentException

parameter is null or an empty string.

The parameters dictionary is accessed through the Parameters property.

.NET Framework
Available since 4.5
Return to top
Show: