52 references to Parts
System.ServiceModel (24)
System\ServiceModel\Description\MessageContractExporter.cs (3)
281
if (message.
Parts
[partName] != null)
286
while (message.
Parts
[partName + i] != null)
298
message.
Parts
.Add(part);
System\ServiceModel\Description\MessageContractImporter.cs (13)
402
if (wsdlMessage.
Parts
.Count > 0)
428
WsdlNS.MessagePartCollection messageParts = wsdlMessage.
Parts
;
476
if (wsdlMessage.
Parts
.Count == 1)
478
if (TryImportAnyMessage(wsdlMessage.
Parts
[0], messageDescription, isReply))
480
if (TryImportStream(wsdlMessage.
Parts
[0], messageDescription, isReply, areAllMessagesWrapped))
486
WsdlNS.MessagePartCollection messageParts = wsdlMessage.
Parts
;
626
if (faultMessage.
Parts
.Count != 1)
633
WsdlNS.MessagePart faultMessageDetail = faultMessage.
Parts
[0];
730
WsdlNS.MessagePart wsdlPart = wsdlMessage.
Parts
[0];
788
foreach (WsdlNS.MessagePart part in message.
Parts
)
923
foreach (WsdlNS.MessagePart part in message.
Parts
)
1327
messageParts = new string[wsdlMessage.
Parts
.Count];
1329
messageParts[i] = wsdlMessage.
Parts
[i].Name;
System\ServiceModel\Security\WSTrustServiceContract.cs (8)
2144
if (message.
Parts
.Count != 1)
2147
SR.GetString(SR.ID3144, portType.Name, op.Name, message.Name, message.
Parts
.Count));
2153
if (message.
Parts
.Count != 1)
2156
SR.GetString(SR.ID3144, portType.Name, op.Name, message.Name, message.
Parts
.Count));
2192
inputMessage.
Parts
[0].Element = inputMessageElement;
2193
outputMessage.
Parts
[0].Element = outputMessageElement;
2194
inputMessage.
Parts
[0].Type = null;
2195
outputMessage.
Parts
[0].Type = null;
System.Web.Extensions (4)
Compilation\WCFModel\WsdlInspector.cs (4)
225
MessagePart[] partsX = new MessagePart[x.
Parts
.Count];
226
x.
Parts
.CopyTo(partsX, 0);
229
MessagePart[] partsY = new MessagePart[y.
Parts
.Count];
230
y.
Parts
.CopyTo(partsY, 0);
System.Web.Services (24)
System\Web\Services\Description\HttpProtocolImporter.cs (1)
93
foreach (MessagePart part in InputMessage.
Parts
) {
System\Web\Services\Description\HttpProtocolReflector.cs (1)
111
inputMessage.
Parts
.Add(part);
System\Web\Services\Description\MimeXmlImporter.cs (2)
48
switch (ImportContext.OutputMessage.
Parts
.Count) {
53
part = ImportContext.OutputMessage.
Parts
[0];
System\Web\Services\Description\MimeXmlReflector.cs (1)
26
ReflectionContext.OutputMessage.
Parts
.Add(part);
System\Web\Services\Description\ServiceDescriptionImporter.cs (1)
440
foreach (MessagePart part in message.
Parts
) {
System\Web\Services\Description\ServiceDescriptionSerializer.cs (2)
1684
global::System.Web.Services.Description.MessagePartCollection a = (global::System.Web.Services.Description.MessagePartCollection)o.
@Parts
;
6619
global::System.Web.Services.Description.MessagePartCollection a_5 = (global::System.Web.Services.Description.MessagePartCollection)o.
@Parts
;
System\Web\Services\Description\SoapProtocolImporter.cs (2)
1108
parts = new MessagePart[message.
Parts
.Count];
1109
message.
Parts
.CopyTo(parts, 0);
System\Web\Services\Description\SoapProtocolReflector.cs (6)
125
message.
Parts
.Add(part);
160
message.
Parts
.Add(part);
168
message.
Parts
.Add(part);
181
message.
Parts
.Add(part);
189
message.
Parts
.Add(part);
207
message.
Parts
.Add(part);
System\Web\Services\Description\WebServicesInteroperability.cs (8)
176
if (bodyParts == 0 && message != null && message.
Parts
.Count > 1) {
196
if (bodyParts == 0 && message != null && message.
Parts
.Count > 1) {
387
if (message.
Parts
== null || message.
Parts
.Count == 0) {
399
for (int i = 0; i < message.
Parts
.Count; i++) {
400
CheckMessagePart(message.
Parts
[i], element, message.Name, operation, binding, ns, i == 0 ? wireSignatures : null, violations);
407
MessagePart part = message.
Parts
[parts[i]];
408
CheckMessagePart(message.
Parts
[i], element, message.Name, operation, binding, ns, i == 0 ? wireSignatures : null, violations);