Merge pull request #273 from joncham/bug-getpid
[mono.git] / mcs / class / corlib / Documentation / en / System.Reflection / AmbiguousMatchException.xml
1 <Type Name="AmbiguousMatchException" FullName="System.Reflection.AmbiguousMatchException" FullNameSP="System_Reflection_AmbiguousMatchException" Maintainer="ecma">
2   <TypeSignature Language="ILASM" Value=".class public sealed serializable AmbiguousMatchException extends System.SystemException" />
3   <TypeSignature Language="C#" Value="public sealed class AmbiguousMatchException : SystemException" />
4   <TypeSignature Language="ILAsm" Value=".class public auto ansi serializable sealed beforefieldinit AmbiguousMatchException extends System.SystemException" />
5   <MemberOfLibrary>Reflection</MemberOfLibrary>
6   <AssemblyInfo>
7     <AssemblyName>mscorlib</AssemblyName>
8     <AssemblyPublicKey>[00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00 ]</AssemblyPublicKey>
9     <AssemblyVersion>1.0.5000.0</AssemblyVersion>
10     <AssemblyVersion>2.0.0.0</AssemblyVersion>
11     <AssemblyVersion>4.0.0.0</AssemblyVersion>
12   </AssemblyInfo>
13   <ThreadingSafetyStatement>All public static members of this type are safe for multithreaded operations. No instance members are guaranteed to be thread safe.</ThreadingSafetyStatement>
14   <Base>
15     <BaseTypeName>System.SystemException</BaseTypeName>
16   </Base>
17   <Interfaces />
18   <Attributes>
19     <Attribute>
20       <AttributeName>System.Runtime.InteropServices.ComVisible(true)</AttributeName>
21     </Attribute>
22   </Attributes>
23   <Docs>
24     <summary>
25       <para>Represents the error that occurs when binding to a method or retrieving custom attributes results
26       in more than one item matching the specified criteria.</para>
27     </summary>
28     <remarks>
29       <para>
30         <see cref="T:System.Reflection.AmbiguousMatchException" /> is thrown when a search that
31    is intended to return no more than one match, detects multiple matching items.
32    For example, this exception is thrown when the <see cref="M:System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo,System.Type)" /> methods (which return a single custom attribute),
33    find multiple occurrences of the attribute.</para>
34     </remarks>
35   </Docs>
36   <Members>
37     <Member MemberName=".ctor">
38       <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor()" />
39       <MemberSignature Language="C#" Value="public AmbiguousMatchException ();" />
40       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
41       <MemberType>Constructor</MemberType>
42       <AssemblyInfo>
43         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
44         <AssemblyVersion>2.0.0.0</AssemblyVersion>
45         <AssemblyVersion>4.0.0.0</AssemblyVersion>
46       </AssemblyInfo>
47       <ReturnValue />
48       <Parameters />
49       <Docs>
50         <summary>
51           <para>Constructs and initializes a new instance of the <see cref="T:System.Reflection.AmbiguousMatchException" />
52 class.</para>
53         </summary>
54         <remarks>
55           <para>This constructor initializes the <see cref="!:System.Reflection.AmbiguousMatchException.Message" /> property of the new
56    instance to a system-supplied message that describes the error, such as "Ambiguous match found."
57    This message takes into account the current system culture.</para>
58           <para>The <see cref="!:System.Reflection.AmbiguousMatchException.InnerException" /> property is initialized to <see langword="null" />
59 .</para>
60         </remarks>
61       </Docs>
62       <Excluded>0</Excluded>
63     </Member>
64     <Member MemberName=".ctor">
65       <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(string message)" />
66       <MemberSignature Language="C#" Value="public AmbiguousMatchException (string message);" />
67       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string message) cil managed" />
68       <MemberType>Constructor</MemberType>
69       <AssemblyInfo>
70         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
71         <AssemblyVersion>2.0.0.0</AssemblyVersion>
72         <AssemblyVersion>4.0.0.0</AssemblyVersion>
73       </AssemblyInfo>
74       <ReturnValue />
75       <Parameters>
76         <Parameter Name="message" Type="System.String" />
77       </Parameters>
78       <Docs>
79         <param name="message">A <see cref="T:System.String" /> that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
80         <summary>
81           <para>Constructs and initializes a new instance of the <see cref="T:System.Reflection.AmbiguousMatchException" />
82 class.</para>
83         </summary>
84         <remarks>
85           <para>This constructor initializes the <see cref="!:System.Reflection.AmbiguousMatchException.Message" /> property of the new instance using <paramref name="message" />. If <paramref name="message" /> is 
86 <see langword="null" />, the <see cref="!:System.Reflection.AmbiguousMatchException.Message" /> property is initialized to the 
87    system-supplied message provided by the constructor that takes no
88    arguments. </para>
89           <para> The <see cref="!:System.Reflection.AmbiguousMatchException.InnerException" /> property is initialized to <see langword="null" />.</para>
90         </remarks>
91       </Docs>
92       <Excluded>0</Excluded>
93     </Member>
94     <Member MemberName=".ctor">
95       <MemberSignature Language="ILASM" Value="public rtspecialname specialname instance void .ctor(string message, class System.Exception inner)" />
96       <MemberSignature Language="C#" Value="public AmbiguousMatchException (string message, Exception inner);" />
97       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string message, class System.Exception inner) cil managed" />
98       <MemberType>Constructor</MemberType>
99       <AssemblyInfo>
100         <AssemblyVersion>1.0.5000.0</AssemblyVersion>
101         <AssemblyVersion>2.0.0.0</AssemblyVersion>
102         <AssemblyVersion>4.0.0.0</AssemblyVersion>
103       </AssemblyInfo>
104       <ReturnValue />
105       <Parameters>
106         <Parameter Name="message" Type="System.String" />
107         <Parameter Name="inner" Type="System.Exception" />
108       </Parameters>
109       <Docs>
110         <param name="message">A <see cref="T:System.String" /> that describes the error. The content of <paramref name="message" /> is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
111         <param name="inner">An instance of <see cref="T:System.Exception" /> that is the cause of the current Exception. If <paramref name="inner" /> is non-null, then the current Exception was raised in a catch block handling <paramref name="inner" /> .</param>
112         <summary>
113           <para>Constructs and initializes a new instance of the <see cref="T:System.Reflection.AmbiguousMatchException" />
114 class.</para>
115         </summary>
116         <remarks>
117           <para>This constructor initializes the <see cref="!:System.Reflection.AmbiguousMatchException.Message" /> property of the new instance using <paramref name="message" />, and
118    the <see cref="!:System.Reflection.AmbiguousMatchException.InnerException" /> property using <paramref name="inner" />. If <paramref name="message" /> is <see langword="null" />,
119    the <see cref="!:System.Reflection.AmbiguousMatchException.Message" /> property is initialized to the
120    system-supplied message provided by the constructor that takes no
121    arguments. </para>
122           <para>
123             <block subset="none" type="note"> For information on inner exceptions,
124    see <see cref="P:System.Exception.InnerException" />.</block>
125           </para>
126         </remarks>
127       </Docs>
128       <Excluded>0</Excluded>
129     </Member>
130   </Members>
131   <TypeExcluded>0</TypeExcluded>
132 </Type>