FederationConfigurationElementCollection.GetElement(String) Method
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.
Retrieves the <federationConfiguration>
element that has the specified name.
public:
System::IdentityModel::Services::Configuration::FederationConfigurationElement ^ GetElement(System::String ^ name);
public System.IdentityModel.Services.Configuration.FederationConfigurationElement GetElement (string name);
member this.GetElement : string -> System.IdentityModel.Services.Configuration.FederationConfigurationElement
Public Function GetElement (name As String) As FederationConfigurationElement
Parameters
- name
- String
The name of the <federationConfiguration>
element to retrieve.
Returns
The <federationConfiguration>
element that has the specified name.
Exceptions
name
is null
.
No element with the specified name was found.
Remarks
The name of a <federationConfiguration>
element is specified through its name
attribute (FederationConfigurationElement.Name property).