<?xml version="1.0" encoding="utf-8"?>
<Type Name="ContractNamespaceAttribute" FullName="System.Runtime.Serialization.ContractNamespaceAttribute">
  <TypeSignature Language="C#" Value="public sealed class ContractNamespaceAttribute : Attribute" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit ContractNamespaceAttribute extends System.Attribute" />
  <AssemblyInfo>
    <AssemblyName>System.Runtime.Serialization</AssemblyName>
    <AssemblyVersion>4.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Attribute</BaseTypeName>
  </Base>
  <Interfaces />
  <Attributes>
    <Attribute>
      <AttributeName>System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Module | System.AttributeTargets.All, AllowMultiple=true, Inherited=false)</AttributeName>
    </Attribute>
  </Attributes>
  <Docs>
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Apply the <see cref="T:System.Runtime.Serialization.ContractNamespaceAttribute" /> attribute to an assembly that contains types to which the <see cref="T:System.Runtime.Serialization.DataContractAttribute" /> has been applied. The <see cref="T:System.Runtime.Serialization.ContractNamespaceAttribute" /> enables you to set a namespace that is different than the one generated when the type is serialized. For more information about how names are generated, see <format type="text/html"><a href="31f87e6c-247b-48f5-8e94-b9e1e33d8d09">Data Contract Names</a></format>.</para>
      <para>If you are using a type to conform to an existing data contract, you must match the namespace of the existing contract by using the <see cref="T:System.Runtime.Serialization.ContractNamespaceAttribute" /> (or the <see cref="P:System.Runtime.Serialization.DataContractAttribute.Namespace" /> property of the <see cref="T:System.Runtime.Serialization.DataContractAttribute" /> class).</para>
      <block subset="none" type="note">
        <para>In any code, you can use the word ContractNamespace instead of the longer <see cref="T:System.Runtime.Serialization.ContractNamespaceAttribute" />.</para>
      </block>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Specifies the CLR namespace and XML namespace of the data contract. </para>
    </summary>
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public ContractNamespaceAttribute (string ns);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string ns) cil managed" />
      <MemberType>Constructor</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Parameters>
        <Parameter Name="ns" Type="System.String" />
      </Parameters>
      <Docs>
        <param name="ns">To be added.</param>
        <remarks>To be added.</remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Initializes a new instance of the <see cref="T:System.Runtime.Serialization.ContractNamespaceAttribute" /> class using the supplied namespace. </para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="ClrNamespace">
      <MemberSignature Language="C#" Value="public string ClrNamespace { get; set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance string ClrNamespace" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.String</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 CLR namespace of the data contract type. </para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="ContractNamespace">
      <MemberSignature Language="C#" Value="public string ContractNamespace { get; }" />
      <MemberSignature Language="ILAsm" Value=".property instance string ContractNamespace" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>This property can only be set using the constructor when applying the attribute to an assembly.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets the namespace of the data contract members.</para>
        </summary>
      </Docs>
    </Member>
  </Members>
</Type>