FederationConfigurationElementCollection::GetElement Method (String^)

.NET Framework (current version)
 

Retrieves the <federationConfiguration> element that has the specified name.

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

public:
FederationConfigurationElement^ GetElement(
	String^ name
)

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
Return to top
Show: