File: MetadataSection.xml

package info (click to toggle)
mono 6.12.0.199%2Bdfsg-6
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 1,296,836 kB
  • sloc: cs: 11,181,803; xml: 2,850,076; ansic: 699,709; cpp: 123,344; perl: 59,361; javascript: 30,841; asm: 21,853; makefile: 20,405; sh: 15,009; python: 4,839; pascal: 925; sql: 859; sed: 16; php: 1
file content (431 lines) | stat: -rw-r--r-- 23,332 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
<?xml version="1.0" encoding="utf-8"?>
<Type Name="MetadataSection" FullName="System.ServiceModel.Description.MetadataSection">
  <TypeSignature Language="C#" Value="public class MetadataSection" />
  <TypeSignature Language="ILAsm" Value=".class public auto ansi MetadataSection extends System.Object" />
  <AssemblyInfo>
    <AssemblyName>System.ServiceModel</AssemblyName>
    <AssemblyVersion>4.0.0.0</AssemblyVersion>
  </AssemblyInfo>
  <Base>
    <BaseTypeName>System.Object</BaseTypeName>
  </Base>
  <Interfaces />
  <Attributes>
    <Attribute>
      <AttributeName>System.Xml.Serialization.XmlRoot("MetadataSection", Namespace="http://schemas.xmlsoap.org/ws/2004/09/mex")</AttributeName>
    </Attribute>
  </Attributes>
  <Docs>
    <remarks>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>The <see cref="T:System.ServiceModel.Description.MetadataSection" /> class conforms to the definition of the wsx:Metadata/wsx:MetadataSection element in the WS-Metadata Exchange specification and contains XML metadata or references to XML metadata. </para>
      <para>A <see cref="T:System.ServiceModel.Description.MetadataSection" /> object contains one dialect of metadata in XML form (such as a Web Services Description Language or WSDL file). You can add a <see cref="T:System.ServiceModel.Description.MetadataSection" /> to a collection of XML metadata represented by a <see cref="T:System.ServiceModel.Description.MetadataSet" /> object. Much of the indigo1 metadata system, such as the <see cref="T:System.ServiceModel.Description.MetadataExchangeClient" /> class, use the <see cref="T:System.ServiceModel.Description.MetadataSet" /> class to import or export service metadata in XML form.</para>
      <para>For example, to export indigo2 contract or endpoint objects to a <see cref="T:System.ServiceModel.Description.MetadataSet" /> object that contains the equivalent metadata in XML form, call the appropriate Export methods on the <see cref="T:System.ServiceModel.Description.WsdlExporter" /> class, passing either <see cref="T:System.ServiceModel.Description.ContractDescription" /> or <see cref="T:System.ServiceModel.Description.ServiceEndpoint" /> objects, and then call the <see cref="M:System.ServiceModel.Description.WsdlExporter.GetGeneratedMetadata" /> method. </para>
      <para>To import XML-based metadata from a <see cref="T:System.ServiceModel.Description.MetadataSet" /> object into indigo2 <see cref="T:System.ServiceModel.Description.ContractDescription" />, <see cref="T:System.ServiceModel.Description.ServiceEndpoint" />, and <see cref="T:System.ServiceModel.Channels.Binding" /> objects, pass a <see cref="T:System.ServiceModel.Description.MetadataSet" /> object to the constructor of the <see cref="T:System.ServiceModel.Description.WsdlImporter" /> class and call one of the import methods. </para>
    </remarks>
    <summary>
      <attribution license="cc4" from="Microsoft" modified="false" />
      <para>Represents XML metadata or references to XML metadata.</para>
    </summary>
  </Docs>
  <Members>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public MetadataSection ();" />
      <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.MetadataSection" /> class with no dialect, identifier, or XML metadata.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName=".ctor">
      <MemberSignature Language="C#" Value="public MetadataSection (string dialect, string identifier, object metadata);" />
      <MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(string dialect, string identifier, object metadata) cil managed" />
      <MemberType>Constructor</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Parameters>
        <Parameter Name="dialect" Type="System.String" />
        <Parameter Name="identifier" Type="System.String" />
        <Parameter Name="metadata" Type="System.Object" />
      </Parameters>
      <Docs>
        <param name="dialect">To be added.</param>
        <param name="identifier">To be added.</param>
        <param name="metadata">To be added.</param>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Use the <see cref="M:System.ServiceModel.Description.MetadataSection.#ctor(System.String,System.String,System.Object)" /> constructor to specify the metadata to be included in this <see cref="T:System.ServiceModel.Description.MetadataSection" />, its dialect and its identifier. The metadata object must be serializable using the <see cref="T:System.Xml.Serialization.XmlSerializer" /> class so that the <see cref="T:System.ServiceModel.Description.MetadataSection" /> object can be serialized. If it is not serializable, an exception is thrown when the object is serialized. Use a <see cref="T:System.ServiceModel.Description.MetadataLocation" /> or <see cref="T:System.ServiceModel.Description.MetadataReference" /> object for the <paramref name="metadata" /> parameter if you want to include a reference to the metadata instead of the metadata itself.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Initializes a new instance of the <see cref="T:System.ServiceModel.Description.MetadataSection" /> class using the specified dialect, identifier, and XML metadata.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="Attributes">
      <MemberSignature Language="C#" Value="public System.Collections.ObjectModel.Collection&lt;System.Xml.XmlAttribute&gt; Attributes { get; }" />
      <MemberSignature Language="ILAsm" Value=".property instance class System.Collections.ObjectModel.Collection`1&lt;class System.Xml.XmlAttribute&gt; Attributes" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>System.Xml.Serialization.XmlAnyAttribute</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Collections.ObjectModel.Collection&lt;System.Xml.XmlAttribute&gt;</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Use the <see cref="P:System.ServiceModel.Description.MetadataSection.Attributes" /> property to add or remove attribute extensions. </para>
          <block subset="none" type="note">
            <para>The dialect and identifier attributes are not included in this collection.</para>
          </block>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets a collection of XML attributes that you can use to add or remove attributes extensions to the metadata.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="CreateFromSchema">
      <MemberSignature Language="C#" Value="public static System.ServiceModel.Description.MetadataSection CreateFromSchema (System.Xml.Schema.XmlSchema schema);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.ServiceModel.Description.MetadataSection CreateFromSchema(class System.Xml.Schema.XmlSchema schema) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.ServiceModel.Description.MetadataSection</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="schema" Type="System.Xml.Schema.XmlSchema" />
      </Parameters>
      <Docs>
        <param name="schema">To be added.</param>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Use this static factory method to quickly create a <see cref="T:System.ServiceModel.Description.MetadataSection" /> for a XML Schema document. The <see cref="P:System.ServiceModel.Description.MetadataSection.Dialect" /> property is assigned the value of <see cref="P:System.ServiceModel.Description.MetadataSection.XmlSchemaDialect" /> and the <see cref="P:System.ServiceModel.Description.MetadataSection.Identifier" /> property is assigned the value of the target namespace of the XML Schema document.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Creates a <see cref="T:System.ServiceModel.Description.MetadataSection" /> from the specified <see cref="T:System.Xml.Schema.XmlSchema" /> object.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A <see cref="T:System.ServiceModel.Description.MetadataSection" /> containing the specified XML schema.</para>
        </returns>
      </Docs>
    </Member>
    <Member MemberName="CreateFromServiceDescription">
      <MemberSignature Language="C#" Value="public static System.ServiceModel.Description.MetadataSection CreateFromServiceDescription (System.Web.Services.Description.ServiceDescription serviceDescription);" />
      <MemberSignature Language="ILAsm" Value=".method public static hidebysig class System.ServiceModel.Description.MetadataSection CreateFromServiceDescription(class System.Web.Services.Description.ServiceDescription serviceDescription) cil managed" />
      <MemberType>Method</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <ReturnValue>
        <ReturnType>System.ServiceModel.Description.MetadataSection</ReturnType>
      </ReturnValue>
      <Parameters>
        <Parameter Name="serviceDescription" Type="System.Web.Services.Description.ServiceDescription" />
      </Parameters>
      <Docs>
        <param name="serviceDescription">To be added.</param>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Use this static factory method to quickly create a <see cref="T:System.ServiceModel.Description.MetadataSection" /> for a WSDL document. The <see cref="P:System.ServiceModel.Description.MetadataSection.Dialect" /> property is assigned the value of <see cref="P:System.ServiceModel.Description.MetadataSection.ServiceDescriptionDialect" /> and the <see cref="P:System.ServiceModel.Description.MetadataSection.Identifier" /> property is assigned the value of the target namespace of the WSDL document.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Returns a <see cref="T:System.ServiceModel.Description.MetadataSection" /> that contains the specified <see cref="T:System.Web.Services.Description.ServiceDescription" />.</para>
        </summary>
        <returns>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>A <see cref="T:System.ServiceModel.Description.MetadataSection" /> that contains the specified <see cref="T:System.Web.Services.Description.ServiceDescription" />.</para>
        </returns>
      </Docs>
    </Member>
    <Member MemberName="Dialect">
      <MemberSignature Language="C#" Value="public string Dialect { get; set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance string Dialect" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>System.Xml.Serialization.XmlAttribute</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The dialect indicates the type of metadata in this <see cref="T:System.ServiceModel.Description.MetadataSection" />. The dialect strings with supported object models are:</para>
          <list type="bullet">
            <item>
              <para>
                <see cref="P:System.ServiceModel.Description.MetadataSection.MetadataExchangeDialect" />
              </para>
            </item>
            <item>
              <para>
                <see cref="P:System.ServiceModel.Description.MetadataSection.PolicyDialect" />
              </para>
            </item>
            <item>
              <para>
                <see cref="P:System.ServiceModel.Description.MetadataSection.ServiceDescriptionDialect" />
              </para>
            </item>
            <item>
              <para>
                <see cref="P:System.ServiceModel.Description.MetadataSection.XmlSchemaDialect" />
              </para>
            </item>
          </list>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets or sets a value that indicates the type of metadata.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="Identifier">
      <MemberSignature Language="C#" Value="public string Identifier { get; set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance string Identifier" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>System.Xml.Serialization.XmlAttribute</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.String</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>The identifier for the metadata in this <see cref="T:System.ServiceModel.Description.MetadataSection" />. The value depends on the type of metadata.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets or sets an identifier for the metadata.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="Metadata">
      <MemberSignature Language="C#" Value="public object Metadata { get; set; }" />
      <MemberSignature Language="ILAsm" Value=".property instance object Metadata" />
      <MemberType>Property</MemberType>
      <AssemblyInfo>
        <AssemblyVersion>4.0.0.0</AssemblyVersion>
      </AssemblyInfo>
      <Attributes>
        <Attribute>
          <AttributeName>System.Xml.Serialization.XmlAnyElement</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>System.Xml.Serialization.XmlElement("Location", IsNullable=false, Namespace="http://schemas.xmlsoap.org/ws/2004/09/mex", Type=typeof(System.ServiceModel.Description.MetadataLocation))</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>System.Xml.Serialization.XmlElement("Metadata", IsNullable=false, Namespace="http://schemas.xmlsoap.org/ws/2004/09/mex", Type=typeof(System.ServiceModel.Description.MetadataSet))</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>System.Xml.Serialization.XmlElement("schema", IsNullable=false, Namespace="http://www.w3.org/2001/XMLSchema", Type=typeof(System.Xml.Schema.XmlSchema))</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>System.Xml.Serialization.XmlElement("definitions", IsNullable=false, Namespace="http://schemas.xmlsoap.org/wsdl/", Type=typeof(System.Web.Services.Description.ServiceDescription))</AttributeName>
        </Attribute>
        <Attribute>
          <AttributeName>System.Xml.Serialization.XmlElement("MetadataReference", IsNullable=false, Namespace="http://schemas.xmlsoap.org/ws/2004/09/mex", Type=typeof(System.ServiceModel.Description.MetadataReference))</AttributeName>
        </Attribute>
      </Attributes>
      <ReturnValue>
        <ReturnType>System.Object</ReturnType>
      </ReturnValue>
      <Docs>
        <value>To be added.</value>
        <remarks>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Use the <see cref="P:System.ServiceModel.Description.MetadataSection.Metadata" /> property to access or modify the metadata content contained in the <see cref="T:System.ServiceModel.Description.MetadataSection" />. The metadata object can be <see cref="T:System.ServiceModel.Description.MetadataReference" /> or a <see cref="T:System.ServiceModel.Description.MetadataLocation" /> as a reference to the metadata content. When a <see cref="T:System.ServiceModel.Description.MetadataSection" /> is deserialized, the type of the metadata object is determined from the XML content. The following table describes the possible return values. </para>
          <list type="table">
            <listheader>
              <item>
                <term>
                  <para>Type of XML metadata</para>
                </term>
                <description>
                  <para>Returned type</para>
                </description>
              </item>
            </listheader>
            <item>
              <term>
                <para>WSDL document</para>
              </term>
              <description>
                <para>
                  <see cref="T:System.Web.Services.Description.ServiceDescription" />
                </para>
              </description>
            </item>
            <item>
              <term>
                <para>XML Schema</para>
              </term>
              <description>
                <para>
                  <see cref="T:System.Xml.Schema.XmlSchema" />
                </para>
              </description>
            </item>
            <item>
              <term>
                <para>Metadata reference</para>
              </term>
              <description>
                <para>
                  <see cref="T:System.ServiceModel.Description.MetadataReference" />
                </para>
              </description>
            </item>
            <item>
              <term>
                <para>Metadata location</para>
              </term>
              <description>
                <para>
                  <see cref="T:System.ServiceModel.Description.MetadataLocation" />
                </para>
              </description>
            </item>
            <item>
              <term>
                <para>Policy, and all other XML content</para>
              </term>
              <description>
                <para>
                  <see cref="T:System.Xml.XmlElement" />
                </para>
              </description>
            </item>
          </list>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Gets or sets the contained metadata object.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="MetadataExchangeDialect">
      <MemberSignature Language="C#" Value="public static string MetadataExchangeDialect { get; }" />
      <MemberSignature Language="ILAsm" Value=".property string MetadataExchangeDialect" />
      <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>The dialect for a WS-Metadata Exchange document.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Contains the value of the metadata exchange dialect.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="PolicyDialect">
      <MemberSignature Language="C#" Value="public static string PolicyDialect { get; }" />
      <MemberSignature Language="ILAsm" Value=".property string PolicyDialect" />
      <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>The dialect for a WS-Policy policy expression.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Contains the value of the WS-Policy dialect.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="ServiceDescriptionDialect">
      <MemberSignature Language="C#" Value="public static string ServiceDescriptionDialect { get; }" />
      <MemberSignature Language="ILAsm" Value=".property string ServiceDescriptionDialect" />
      <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>The dialect.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Contains the value of the Web Services Description Language (WSDL) dialect.</para>
        </summary>
      </Docs>
    </Member>
    <Member MemberName="XmlSchemaDialect">
      <MemberSignature Language="C#" Value="public static string XmlSchemaDialect { get; }" />
      <MemberSignature Language="ILAsm" Value=".property string XmlSchemaDialect" />
      <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>The dialect for an XML Schema document.</para>
        </remarks>
        <summary>
          <attribution license="cc4" from="Microsoft" modified="false" />
          <para>Contains the value of the XML Schema dialect.</para>
        </summary>
      </Docs>
    </Member>
  </Members>
</Type>