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