[mcs] Validate more nameof argument expressions
[mono.git] / mcs / class / System.ComponentModel.Composition / Documentation / en / System.ComponentModel.Composition / CompositionContractMismatchException.xml
1 <?xml version="1.0" encoding="utf-8"?>
2 <Type Name="CompositionContractMismatchException" FullName="System.ComponentModel.Composition.CompositionContractMismatchException">
3   <TypeSignature Language="C#" Value="public class CompositionContractMismatchException : Exception" />
4   <TypeSignature Language="ILAsm" Value=".class public auto ansi serializable beforefieldinit CompositionContractMismatchException extends System.Exception" />
5   <AssemblyInfo>
6     <AssemblyName>System.ComponentModel.Composition</AssemblyName>
7     <AssemblyVersion>4.0.0.0</AssemblyVersion>
8   </AssemblyInfo>
9   <Base>
10     <BaseTypeName>System.Exception</BaseTypeName>
11   </Base>
12   <Interfaces />
13   <Docs>
14     <remarks>To be added.</remarks>
15     <summary>
16       <attribution license="cc4" from="Microsoft" modified="false" />
17       <para>The exception that is thrown when the underlying exported value or metadata of a <see cref="T:System.Lazy`1" /> or <see cref="T:System.Lazy`2" /> object cannot be cast to T or TMetadataView, respectively.</para>
18     </summary>
19   </Docs>
20   <Members>
21     <Member MemberName=".ctor">
22       <MemberSignature Language="C#" Value="public CompositionContractMismatchException ();" />
23       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
24       <MemberType>Constructor</MemberType>
25       <AssemblyInfo>
26         <AssemblyVersion>4.0.0.0</AssemblyVersion>
27       </AssemblyInfo>
28       <Parameters />
29       <Docs>
30         <remarks>
31           <attribution license="cc4" from="Microsoft" modified="false" />
32           <para>This constructor initializes the <see cref="P:System.Exception.Message" /> property of the new instance to a system-supplied message that describes the error, such as "DefaultMessageDisplayedByParameterlessCtorWriterMustSupply". This message takes into account the current system culture.</para>
33           <para>The following table shows the initial property values for an instance of <see cref="T:System.InsufficientMemoryException" />.</para>
34           <list type="table">
35             <listheader>
36               <item>
37                 <term>
38                   <para>Property </para>
39                 </term>
40                 <description>
41                   <para>Value </para>
42                 </description>
43               </item>
44             </listheader>
45             <item>
46               <term>
47                 <para>
48                   <see cref="P:System.Exception.InnerException" />
49                 </para>
50               </term>
51               <description>
52                 <para>null.</para>
53               </description>
54             </item>
55             <item>
56               <term>
57                 <para>
58                   <see cref="P:System.Exception.Message" />
59                 </para>
60               </term>
61               <description>
62                 <para>The localized error message string. </para>
63               </description>
64             </item>
65           </list>
66         </remarks>
67         <summary>
68           <attribution license="cc4" from="Microsoft" modified="false" />
69           <para>Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.CompositionContractMismatchException" /> class with a system-supplied message that describes the error.</para>
70         </summary>
71       </Docs>
72     </Member>
73     <Member MemberName=".ctor">
74       <MemberSignature Language="C#" Value="public CompositionContractMismatchException (string message);" />
75       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string message) cil managed" />
76       <MemberType>Constructor</MemberType>
77       <AssemblyInfo>
78         <AssemblyVersion>4.0.0.0</AssemblyVersion>
79       </AssemblyInfo>
80       <Parameters>
81         <Parameter Name="message" Type="System.String" />
82       </Parameters>
83       <Docs>
84         <remarks>
85           <attribution license="cc4" from="Microsoft" modified="false" />
86           <para>The following table shows the initial property values for an instance of <see cref="T:System.ComponentModel.Composition.CompositionContractMismatchException" />.</para>
87           <list type="table">
88             <listheader>
89               <item>
90                 <term>
91                   <para>Property </para>
92                 </term>
93                 <description>
94                   <para>Value </para>
95                 </description>
96               </item>
97             </listheader>
98             <item>
99               <term>
100                 <para>
101                   <see cref="P:System.Exception.InnerException" />
102                 </para>
103               </term>
104               <description>
105                 <para>null.</para>
106               </description>
107             </item>
108             <item>
109               <term>
110                 <para>
111                   <see cref="P:System.Exception.Message" />
112                 </para>
113               </term>
114               <description>
115                 <para>The error message string specified in <paramref name="message" />. </para>
116               </description>
117             </item>
118           </list>
119         </remarks>
120         <summary>
121           <attribution license="cc4" from="Microsoft" modified="false" />
122           <para>Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.CompositionContractMismatchException" /> class with a specified message that describes the error.</para>
123         </summary>
124         <param name="message">
125           <attribution license="cc4" from="Microsoft" modified="false" />The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.</param>
126       </Docs>
127     </Member>
128     <Member MemberName=".ctor">
129       <MemberSignature Language="C#" Value="protected CompositionContractMismatchException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);" />
130       <MemberSignature Language="ILAsm" Value=".method familyhidebysig specialname rtspecialname instance void .ctor(class System.Runtime.Serialization.SerializationInfo info, valuetype System.Runtime.Serialization.StreamingContext context) cil managed" />
131       <MemberType>Constructor</MemberType>
132       <AssemblyInfo>
133         <AssemblyVersion>4.0.0.0</AssemblyVersion>
134       </AssemblyInfo>
135       <Attributes>
136         <Attribute>
137           <AttributeName>System.Security.SecuritySafeCritical</AttributeName>
138         </Attribute>
139       </Attributes>
140       <Parameters>
141         <Parameter Name="info" Type="System.Runtime.Serialization.SerializationInfo" />
142         <Parameter Name="context" Type="System.Runtime.Serialization.StreamingContext" />
143       </Parameters>
144       <Docs>
145         <remarks>
146           <attribution license="cc4" from="Microsoft" modified="false" />
147           <para>This constructor is called during deserialization to reconstitute the exception object transmitted over a stream. For more information, see <format type="text/html"><a href="832ac524-21bc-419a-a27b-ca8bfc45840f">XML and Soap Serialization</a></format>.</para>
148         </remarks>
149         <summary>
150           <attribution license="cc4" from="Microsoft" modified="false" />
151           <para>Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.CompositionContractMismatchException" /> class with serialized data.</para>
152         </summary>
153         <param name="info">
154           <attribution license="cc4" from="Microsoft" modified="false" />The object that holds the serialized object data. </param>
155         <param name="context">
156           <attribution license="cc4" from="Microsoft" modified="false" />The contextual information about the source or destination. </param>
157       </Docs>
158     </Member>
159     <Member MemberName=".ctor">
160       <MemberSignature Language="C#" Value="public CompositionContractMismatchException (string message, Exception innerException);" />
161       <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string message, class System.Exception innerException) cil managed" />
162       <MemberType>Constructor</MemberType>
163       <AssemblyInfo>
164         <AssemblyVersion>4.0.0.0</AssemblyVersion>
165       </AssemblyInfo>
166       <Parameters>
167         <Parameter Name="message" Type="System.String" />
168         <Parameter Name="innerException" Type="System.Exception" />
169       </Parameters>
170       <Docs>
171         <remarks>
172           <attribution license="cc4" from="Microsoft" modified="false" />
173           <para>An exception that is thrown as a direct result of a previous exception should include a reference to the previous exception in the <see cref="P:System.Exception.InnerException" /> property. The <see cref="P:System.Exception.InnerException" /> property returns the same value that is passed into the constructor, or null if the <see cref="P:System.Exception.InnerException" /> property does not supply the inner exception value to the constructor.</para>
174           <para>The following table shows the initial property values for an instance of <see cref="T:System.ComponentModel.Composition.CompositionContractMismatchException" />.</para>
175           <list type="table">
176             <listheader>
177               <item>
178                 <term>
179                   <para>Property </para>
180                 </term>
181                 <description>
182                   <para>Value </para>
183                 </description>
184               </item>
185             </listheader>
186             <item>
187               <term>
188                 <para>
189                   <see cref="P:System.Exception.InnerException" />
190                 </para>
191               </term>
192               <description>
193                 <para>null. </para>
194               </description>
195             </item>
196             <item>
197               <term>
198                 <para>
199                   <see cref="P:System.Exception.Message" />
200                 </para>
201               </term>
202               <description>
203                 <para>The error message string specified in <paramref name="message" />. </para>
204               </description>
205             </item>
206           </list>
207         </remarks>
208         <summary>
209           <attribution license="cc4" from="Microsoft" modified="false" />
210           <para>Initializes a new instance of the <see cref="T:System.ComponentModel.Composition.CompositionContractMismatchException" /> class with a specified error message and a reference to the inner exception that is the cause of this exception.</para>
211         </summary>
212         <param name="message">
213           <attribution license="cc4" from="Microsoft" modified="false" />The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture. </param>
214         <param name="innerException">
215           <attribution license="cc4" from="Microsoft" modified="false" />The exception that is the cause of the current exception. If the <paramref name="innerException" /> parameter is not null, the current exception is raised in a catch block that handles the inner exception. </param>
216       </Docs>
217     </Member>
218   </Members>
219 </Type>