-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
MimePart.xml
133 lines (118 loc) · 7.7 KB
/
MimePart.xml
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
<Type Name="MimePart" FullName="System.Web.Services.Description.MimePart">
<TypeSignature Language="C#" Value="public sealed class MimePart : System.Web.Services.Description.ServiceDescriptionFormatExtension" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed beforefieldinit MimePart extends System.Web.Services.Description.ServiceDescriptionFormatExtension" />
<TypeSignature Language="DocId" Value="T:System.Web.Services.Description.MimePart" />
<TypeSignature Language="VB.NET" Value="Public NotInheritable Class MimePart
Inherits ServiceDescriptionFormatExtension" />
<TypeSignature Language="F#" Value="type MimePart = class
 inherit ServiceDescriptionFormatExtension" />
<TypeSignature Language="C++ CLI" Value="public ref class MimePart sealed : System::Web::Services::Description::ServiceDescriptionFormatExtension" />
<AssemblyInfo>
<AssemblyName>System.Web.Services</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Services.Description</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>6.2.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Web.Services.Description.ServiceDescriptionFormatExtension</BaseTypeName>
</Base>
<Interfaces />
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Web.Services.Configuration.XmlFormatExtensionPoint("Extensions")]</AttributeName>
<AttributeName Language="F#">[<System.Web.Services.Configuration.XmlFormatExtensionPoint("Extensions")>]</AttributeName>
</Attribute>
</Attributes>
<Docs>
<summary>Represents an extensibility element added to a <see cref="T:System.Web.Services.Description.MimeMultipartRelatedBinding" />, specifying the concrete MIME type for the <see cref="T:System.Web.Services.Description.MessagePart" /> to which the <see langword="MimePart" /> applies. This class cannot be inherited.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
For more information about specifying protocols for XML Web services, see [XML Web Services Using ASP.NET](https://learn.microsoft.com/previous-versions/dotnet/netframework-4.0/ba0z6a33(v=vs.100)). For more information about Web Services Description Language (WSDL), see the [WSDL](https://www.w3.org/TR/wsdl/) specification.
## Examples
The following example demonstrates the use of the methods and properties exposed by the `MimePart` class.
:::code language="cpp" source="~/snippets/cpp/VS_Snippets_Remoting/MimePart_3/CPP/mimepart_3.cpp" id="Snippet1":::
:::code language="csharp" source="~/snippets/csharp/System.Web.Services.Description/MimePart/Overview/mimepart_3.cs" id="Snippet1":::
:::code language="vb" source="~/snippets/visualbasic/VS_Snippets_Remoting/MimePart_3/VB/mimepart_3.vb" id="Snippet1":::
]]></format>
</remarks>
</Docs>
<Members>
<Member MemberName=".ctor">
<MemberSignature Language="C#" Value="public MimePart ();" />
<MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" />
<MemberSignature Language="DocId" Value="M:System.Web.Services.Description.MimePart.#ctor" />
<MemberSignature Language="VB.NET" Value="Public Sub New ()" />
<MemberSignature Language="C++ CLI" Value="public:
 MimePart();" />
<MemberType>Constructor</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.Services</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Services.Description</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>6.2.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Parameters />
<Docs>
<summary>Initializes a new instance of the <see cref="T:System.Web.Services.Description.MimePart" /> class.</summary>
<remarks>To be added.</remarks>
</Docs>
</Member>
<Member MemberName="Extensions">
<MemberSignature Language="C#" Value="public System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions { get; }" />
<MemberSignature Language="ILAsm" Value=".property instance class System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection Extensions" />
<MemberSignature Language="DocId" Value="P:System.Web.Services.Description.MimePart.Extensions" />
<MemberSignature Language="VB.NET" Value="Public ReadOnly Property Extensions As ServiceDescriptionFormatExtensionCollection" />
<MemberSignature Language="F#" Value="member this.Extensions : System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection" Usage="System.Web.Services.Description.MimePart.Extensions" />
<MemberSignature Language="C++ CLI" Value="public:
 property System::Web::Services::Description::ServiceDescriptionFormatExtensionCollection ^ Extensions { System::Web::Services::Description::ServiceDescriptionFormatExtensionCollection ^ get(); };" />
<MemberType>Property</MemberType>
<AssemblyInfo>
<AssemblyName>System.Web.Services</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Web.Services.Description</AssemblyName>
<AssemblyVersion>6.0.0.0</AssemblyVersion>
<AssemblyVersion>6.2.0.0</AssemblyVersion>
<AssemblyVersion>8.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Attributes>
<Attribute>
<AttributeName Language="C#">[System.Xml.Serialization.XmlIgnore]</AttributeName>
<AttributeName Language="F#">[<System.Xml.Serialization.XmlIgnore>]</AttributeName>
</Attribute>
</Attributes>
<ReturnValue>
<ReturnType>System.Web.Services.Description.ServiceDescriptionFormatExtensionCollection</ReturnType>
</ReturnValue>
<Docs>
<summary>Gets the collection of MIME extensibility elements for the part of the <see cref="T:System.Web.Services.Description.MimeMultipartRelatedBinding" /> of which the <see cref="T:System.Web.Services.Description.MimePart" /> is a member.</summary>
<value>A collection of service description format extension.</value>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
This collection must have at least one member. If it has more than one member, the members are alternative MIME formats for the current <xref:System.Web.Services.Description.MimePart>. Members can be of the following types:
- <xref:System.Web.Services.Description.MimeContentBinding>
- <xref:System.Web.Services.Description.MimeXmlBinding>
- <xref:System.Web.Services.Description.SoapBodyBinding>
Each of these classes exposes a `Part` property specifying the <xref:System.Web.Services.Description.MessagePart> with which the `MimePart` is associated. If this collection has no members, the XML Web service will fail to generate a Web Services Description Language (WSDL) file when it is requested. For more information about how MIME extends WSDL, see the [WSDL](https://www.w3.org/TR/wsdl/) specification.
## Examples
MimePart_3#3
]]></format>
</remarks>
</Docs>
</Member>
</Members>
</Type>