<?xml version="1.0" encoding="utf-8"?>
<Type Name="MessageDescriptionCollection" FullName="System.ServiceModel.Description.MessageDescriptionCollection">
  <TypeSignature Language="C#" Value="public class MessageDescriptionCollection : System.Collections.ObjectModel.Collection&lt;System.ServiceModel.Description.MessageDescription&gt;" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit MessageDescriptionCollection extends System.Collections.ObjectModel.Collection`1&lt;class System.ServiceModel.Description.MessageDescription&gt;" />
  <AssemblyInfo>
    <AssemblyName>System.ServiceModel</AssemblyName>
    <AssemblyVersion>4.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Collections.ObjectModel.Collection&lt;System.ServiceModel.Description.MessageDescription&gt;</BaseTypeName>
    <BaseTypeArguments>
      <BaseTypeArgument TypeParamName="!0">System.ServiceModel.Description.MessageDescription</BaseTypeArgument>
    </BaseTypeArguments>
  </Base>
  <Interfaces />
  <Docs>
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>A <see cref="T:System.ServiceModel.Description.ContractDescription" /> is used to describe contracts and their associated operations. Each contract operation has a corresponding <see cref="T:System.ServiceModel.Description.OperationDescription" /> that describes aspects of the operation, such as whether the operation is one-way or request/reply. Each <see cref="T:System.ServiceModel.Description.OperationDescription" /> in turn describes the messages that make up the operation using a collection of <see cref="T:System.ServiceModel.Description.MessageDescription" />.</para>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Provides a collection that is used to store descriptions of the messages that make up an operation that belongs to a contract.</para>
    </summary>
  </Docs>
  <Members>
    <Member MemberName="Find">
      <MemberSignature Language="C#" Value="public System.ServiceModel.Description.MessageDescription Find (string action);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.ServiceModel.Description.MessageDescription Find(string action) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.ServiceModel.Description.MessageDescription</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="action" Type="System.String" />
      </Parameters>
      <Docs>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>If you need to find all of the <see cref="T:System.ServiceModel.Description.MessageDescription" /> objects in the collection that match the specified <paramref name="action" />, use the <see cref="M:System.ServiceModel.Description.MessageDescriptionCollection.FindAll(System.String)" /> method instead.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Finds and returns the first message description in a collection for a message with a specified action.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The first <see cref="T:System.ServiceModel.Description.MessageDescription" /> from the collection whose message has the specified <paramref name="action" /> and null if no matching <paramref name="action" /> is found.</para>
        </returns>
        <param name="action">
          <attribution license="cc4" from="Microsoft" modified="false" />The action of the message being found.</param>
      </Docs>
    </Member>
    <Member MemberName="FindAll">
      <MemberSignature Language="C#" Value="public System.Collections.ObjectModel.Collection&lt;System.ServiceModel.Description.MessageDescription&gt; FindAll (string action);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig instance class System.Collections.ObjectModel.Collection`1&lt;class System.ServiceModel.Description.MessageDescription&gt; FindAll(string action) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.Collections.ObjectModel.Collection&lt;System.ServiceModel.Description.MessageDescription&gt;</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="action" Type="System.String" />
      </Parameters>
      <Docs>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>If you need to find the first instance of the <see cref="T:System.ServiceModel.Description.MessageDescription" /> in the collection that match the specified <paramref name="action" />, use the <see cref="M:System.ServiceModel.Description.MessageDescriptionCollection.Find(System.String)" /> method instead.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Finds and returns all of the message descriptions in a collection whose messages have a specified action.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A <see cref="T:System.ServiceModel.Description.MessageDescriptionCollection" /> that contains the collection message descriptions from the current collection whose messages have the specified <paramref name="action" />. If no matching <see cref="T:System.ServiceModel.Description.MessageDescription" /> objects are found, an empty collection is returned.</para>
        </returns>
        <param name="action">
          <attribution license="cc4" from="Microsoft" modified="false" />The action of the messages being found.</param>
      </Docs>
    </Member>
  </Members>
</Type>