Oracle® Coherence .NET API Reference Release 3.7.1
E22844-03

Instantiate an IAddressProvider configured using an XML that conforms to the following format:
            <xs:choice>
            <xs:element ref="socket-address" maxOccurs="unbounded"/>
            <xs:element ref="address-provider"/>
            </xs:choice>
            
where socket-address is defined as follows:
            <xs:sequence>
            <xs:element ref="address"/>
            <xs:element ref="port"/>
            </xs:sequence>
            
and address-provider is defined as follows:
            <xs:choice>
            <xs:element ref="class-name"/>
            <xs:sequence>
            <xs:element ref="class-factory-name"/>
            <xs:element ref="method-name"/>
            </xs:sequence>
            </xs:choice>
            <xs:element ref="init-params" minOccurs="0"/>
            

Namespace:  Tangosol.Net
Assembly:  Coherence (in Coherence.dll) Version: 3.7.1.23 (3.7.1.23)

Syntax

C#
public static IAddressProvider CreateAddressProvider(
	IXmlElement xmlConfig
)

Parameters

xmlConfig
Type: Tangosol.Run.Xml..::.IXmlElement
The XML element that contains the configuration info.

Return Value

An instance of the corresponding IAddressProvider implementation.

See Also