﻿<?xml version="1.0" encoding="utf-8"?><Type Name="MetadataReference" FullName="System.ServiceModel.Description.MetadataReference"><TypeSignature Language="C#" Value="public class MetadataReference : System.Xml.Serialization.IXmlSerializable" /><TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit MetadataReference extends System.Object implements class System.Xml.Serialization.IXmlSerializable" /><AssemblyInfo><AssemblyName>System.ServiceModel</AssemblyName><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.Object</BaseTypeName></Base><Interfaces><Interface><InterfaceName>System.Xml.Serialization.IXmlSerializable</InterfaceName></Interface></Interfaces><Attributes><Attribute><AttributeName>System.Xml.Serialization.XmlRoot("MetadataReference", Namespace="http://schemas.xmlsoap.org/ws/2004/09/mex")</AttributeName></Attribute></Attributes><Docs><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>When using indigo1, a metadata endpoint can be created for any service. The endpoint can be queried for metadata that allows a client to communicate with the endpoint. For example, a metadata endpoint can return a Web Services Description Language (WSDL) document that describes the methods and data types of a service.</para><para>The <see cref="T:System.ServiceModel.Description.MetadataReference" /> class is used with WS-MetadataExchange responses where references are directly encoded as &lt;mex:MetadataReference&gt; or &lt;mex:MetadataLocation&gt;. </para><para>Metadata documents can reference many other documents that describe types and those documents can contain even more references. The <see cref="T:System.ServiceModel.Description.MetadataReference" /> class represents a single endpoint that returns a document that can itself contain multiple WSDL or XSD items as well as other metadata references to other WS-MetadataExchange endpoints. </para><para>Instances of the <see cref="T:System.ServiceModel.Description.MetadataReference" /> class are commonly used when processing a <see cref="T:System.ServiceModel.Description.MetadataSet" />, which represents the total metadata exchange point. The <see cref="T:System.ServiceModel.Description.MetadataResolver" /> class is designed to resolve all references used to return the metadata. If, however, you need to examine each reference, use the <see cref="T:System.ServiceModel.Description.MetadataReference" /> class to represent each endpoint.</para><format type="text/html"><h2>Specifications</h2></format><para>indigo2 implements the Web Services Metadata Exchange (WS-MetadataExchange) specification for returning metadata. That specification further uses the Web Services Transfer (WS-Transfer) specification to define the mechanism for retrieving XML-based data.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Represents a reference to a metadata document returned from a metadata exchange endpoint.</para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public MetadataReference ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters /><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.ServiceModel.Description.MetadataReference" /> class. </para></summary></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public MetadataReference (System.ServiceModel.EndpointAddress address, System.ServiceModel.Channels.AddressingVersion addressVersion);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(class System.ServiceModel.EndpointAddress address, class System.ServiceModel.Channels.AddressingVersion addressVersion) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="address" Type="System.ServiceModel.EndpointAddress" /><Parameter Name="addressVersion" Type="System.ServiceModel.Channels.AddressingVersion" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.ServiceModel.Description.MetadataReference" /> class and specifies the network address and address version of the endpoint. </para></summary><param name="address"><attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.ServiceModel.EndpointAddress" /> that contains the URI of the endpoint.</param><param name="addressVersion"><attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.ServiceModel.Channels.AddressingVersion" />  that contains the WS-Addressing version implemented by the endpoint.</param></Docs></Member><Member MemberName="Address"><MemberSignature Language="C#" Value="public System.ServiceModel.EndpointAddress Address { get; set; }" /><MemberSignature Language="ILAsm" Value=".property instance class System.ServiceModel.EndpointAddress Address" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.ServiceModel.EndpointAddress</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the network address of a service that returns metadata.</para></summary></Docs></Member><Member MemberName="AddressVersion"><MemberSignature Language="C#" Value="public System.ServiceModel.Channels.AddressingVersion AddressVersion { get; set; }" /><MemberSignature Language="ILAsm" Value=".property instance class System.ServiceModel.Channels.AddressingVersion AddressVersion" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.ServiceModel.Channels.AddressingVersion</ReturnType></ReturnValue><Docs><value>To be added.</value><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the version implemented in, or used by the endpoint.</para></summary></Docs></Member><Member MemberName="System.Xml.Serialization.IXmlSerializable.GetSchema"><MemberSignature Language="C#" Value="System.Xml.Schema.XmlSchema IXmlSerializable.GetSchema ();" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance class System.Xml.Schema.XmlSchema System.Xml.Serialization.IXmlSerializable.GetSchema() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Xml.Schema.XmlSchema</ReturnType></ReturnValue><Parameters /><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Returns an XML schema document for the metadata reference endpoint.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>An <see cref="T:System.Xml.Schema.XmlSchema" /> that represents the XML Schema Document (XSD) for the metadata endpoint reference.</para></returns></Docs></Member><Member MemberName="System.Xml.Serialization.IXmlSerializable.ReadXml"><MemberSignature Language="C#" Value="void IXmlSerializable.ReadXml (System.Xml.XmlReader reader);" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.Xml.Serialization.IXmlSerializable.ReadXml(class System.Xml.XmlReader reader) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="reader" Type="System.Xml.XmlReader" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Reads using the supplied reader object.</para></summary><param name="reader"><attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Xml.XmlReader" /> used to read with.</param></Docs></Member><Member MemberName="System.Xml.Serialization.IXmlSerializable.WriteXml"><MemberSignature Language="C#" Value="void IXmlSerializable.WriteXml (System.Xml.XmlWriter writer);" /><MemberSignature Language="ILAsm" Value=".method hidebysig newslot virtual instance void System.Xml.Serialization.IXmlSerializable.WriteXml(class System.Xml.XmlWriter writer) cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Void</ReturnType></ReturnValue><Parameters><Parameter Name="writer" Type="System.Xml.XmlWriter" /></Parameters><Docs><remarks>To be added.</remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Writes an XML stream with the specified writer object.</para></summary><param name="writer"><attribution license="cc4" from="Microsoft" modified="false" />An <see cref="T:System.Xml.XmlWriter" /> used to write with.</param></Docs></Member></Members></Type>