EndpointAddressBuilder.GetReaderAtMetadata Method ()


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 reader that contains the metadata associated with the endpoint address.

Namespace:   System.ServiceModel
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

public XmlDictionaryReader GetReaderAtMetadata()

Return Value

Type: System.Xml.XmlDictionaryReader

The XmlDictionaryReader that reads the metadata associated the endpoint address if there is some; otherwise, null.

sr = new StringReader(@"<myMetadata xmlns=""myMetaNs"" />");
XmlDictionaryReader xdrMetaData = eab.GetReaderAtMetadata();

.NET Framework
Available since 3.0
Return to top