FederationConfigurationElementCollection::GetElement Method (String^)
.NET Framework (current version)
Retrieves the <federationConfiguration> element that has the specified name.
Assembly: System.IdentityModel.Services (in System.IdentityModel.Services.dll)
Parameters
- name
-
Type:
System::String^
The name of the <federationConfiguration> element to retrieve.
Return Value
Type: System.IdentityModel.Services.Configuration::FederationConfigurationElement^The <federationConfiguration> element that has the specified name.
| Exception | Condition |
|---|---|
| ArgumentNullException | name is null. |
| InvalidOperationException | No element with the specified name was found. |
The name of a <federationConfiguration> element is specified through its name attribute (FederationConfigurationElement::Name property).
.NET Framework
Available since 4.5
Available since 4.5
Show: