18 writes to WrapperName
System.ServiceModel (14)
System\ServiceModel\ComIntegration\ComPlusTypeLoader.cs (2)
325
messageDescription.Body.
WrapperName
= xmlName.EncodedName;
329
messageDescription.Body.
WrapperName
= TypeLoader.GetBodyWrapperResponseName(xmlName).EncodedName;
System\ServiceModel\Description\DispatcherBuilder.cs (1)
73
messageDescription.Body.
WrapperName
= messageDescription.Body.WrapperNamespace = null;
System\ServiceModel\Description\MessageBodyDescription.cs (1)
27
this.
WrapperName
= other.WrapperName;
System\ServiceModel\Description\MessageContractImporter.cs (4)
559
request.Body.
WrapperName
= operation.Name;
567
response.Body.
WrapperName
= TypeLoader.GetBodyWrapperResponseName(operation.Name).EncodedName;
697
description.Body.
WrapperName
= new XmlName(part.Element.Name, true /*isEncoded*/).EncodedName;
737
messageDescription.Body.
WrapperName
= new XmlName(elementName.Name, true /*isEncoded*/).EncodedName;
System\ServiceModel\Description\OperationGenerator.cs (1)
638
messageDescription.Body.
WrapperName
= null;
System\ServiceModel\Description\TypeLoader.cs (5)
1023
responseDescription.Body.
WrapperName
= responseDescription.Body.WrapperNamespace = null;
1028
requestDescription.Body.
WrapperName
= requestDescription.Body.WrapperNamespace = null;
1192
messageDescription.Body.
WrapperName
= null;
1197
messageDescription.Body.
WrapperName
= wrapperName.EncodedName;
1242
messageDescription.Body.
WrapperName
= GetWrapperName(messageContractAttribute.WrapperName, messageDescription.MessageName).EncodedName;
System.ServiceModel.Activities (4)
System\ServiceModel\Activities\MessageBuilder.cs (4)
129
result.Body.
WrapperName
= null;
235
message.Body.
WrapperName
= operation.Name + (isResponse ? TypeLoader.ResponseSuffix : string.Empty);
249
responseMessage.Body.
WrapperName
= null;
255
requestMessage.Body.
WrapperName
= null;
30 references to WrapperName
System.ServiceModel (26)
System\ServiceModel\ComIntegration\DispatchProxy.cs (2)
125
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new COMException(SR.GetString(SR.CannotResolveTypeForParamInMessageDescription, "ReturnValue", msgDesc.Body.
WrapperName
, msgDesc.Body.WrapperNamespace), HR.DISP_E_MEMBERNOTFOUND));
150
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new COMException(SR.GetString(SR.CannotResolveTypeForParamInMessageDescription, param.Name, msgDesc.Body.
WrapperName
, msgDesc.Body.WrapperNamespace), HR.DISP_E_MEMBERNOTFOUND));
System\ServiceModel\Description\MessageBodyDescription.cs (1)
27
this.WrapperName = other.
WrapperName
;
System\ServiceModel\Description\MessageContractExporter.cs (3)
970
bool isWrapped = description.Body.
WrapperName
!= null;
973
wrapperSequence = ExportWrappedPart(wsdlMessage, description.Body.
WrapperName
, description.Body.WrapperNamespace, SchemaSet, false /*isOperationInherited*/);
1118
bool isDocWrapped = !operationReflector.IsRpc && description.Body.
WrapperName
!= null;
System\ServiceModel\Description\OperationGenerator.cs (10)
319
if (this.MessageContractType == MessageContractType.BareMessageContract && message.Body.
WrapperName
!= null)
633
MessagePartDescription wrapperPart = new MessagePartDescription(messageDescription.Body.
WrapperName
, messageDescription.Body.WrapperNamespace);
784
if (message.Body.
WrapperName
!= null)
788
new CodePrimitiveExpression(NamingHelper.CodeName(message.Body.
WrapperName
))));
906
if (parent.Request.Body.
WrapperName
== null || (parent.Response != null && parent.Response.Body.
WrapperName
== null))
913
if (!String.Equals(parent.Request.Body.
WrapperName
, defaultName.EncodedName, StringComparison.Ordinal))
914
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(SR.GetString(SR.SFxCannotImportAsParameters_DifferentWrapperName, parent.Request.MessageName, parent.Request.Body.
WrapperName
, defaultName.EncodedName)));
921
if (!String.Equals(parent.Response.Body.
WrapperName
, TypeLoader.GetBodyWrapperResponseName(defaultName).EncodedName, StringComparison.Ordinal))
922
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(SR.GetString(SR.SFxCannotImportAsParameters_DifferentWrapperName, parent.Response.MessageName, parent.Response.Body.
WrapperName
, defaultName.EncodedName)));
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (2)
489
if (IsEncoded && message.IsTypedMessage && message.Body.
WrapperName
== null)
502
wrapperName = message.Body.
WrapperName
;
System\ServiceModel\Description\XmlSerializerOperationGenerator.cs (1)
130
bool isWrapped = (body.
WrapperName
!= null);
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (2)
117
if (body.
WrapperName
!= null)
119
messageInfo.WrapperName = AddToDictionary(body.
WrapperName
);
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (4)
65
if (requestMessage.Body.
WrapperName
!= null)
67
requestWrapperName = AddToDictionary(dictionary, requestMessage.Body.
WrapperName
);
75
if (responseMessage.Body.
WrapperName
!= null)
77
responseWrapperName = AddToDictionary(dictionary, responseMessage.Body.
WrapperName
);
System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
40
wrapperName = messageDescription.Body.
WrapperName
;
System.ServiceModel.Activities (3)
System\ServiceModel\Activities\ContractValidationHelper.cs (3)
334
if (targetMessage.Body.
WrapperName
!= null && targetMessage.Body.
WrapperName
!= String.Empty)
398
if (targetMessageBody.
WrapperName
== null)
System.ServiceModel.Web (1)
System\ServiceModel\Description\WebHttpBehavior.cs (1)
1268
if (IsTypedMessage(md) && md.Body.
WrapperName
== null)