3 writes to MessageName
dotnet-svcutil-lib (3)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageDescription.cs (1)
51
this.
MessageName
= other.MessageName;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (1)
1285
messageDescription.
MessageName
= new XmlName(NamingHelper.TypeName(typedMessageType));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (1)
512
messageDescription.
MessageName
= WsdlNamingHelper.GetOperationMessageName(wsdlOperationMessage);
27 references to MessageName
dotnet-svcutil-lib (27)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageDescription.cs (1)
51
this.MessageName = other.
MessageName
;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\OperationGenerator.cs (14)
312
string messageName = XmlName.IsNullOrEmpty(message.
MessageName
) ? null : message.
MessageName
.DecodedName;
598
string messageName = XmlName.IsNullOrEmpty(messageDescription.
MessageName
) ? null : messageDescription.
MessageName
.DecodedName;
607
AddWrapperPart(messageDescription.
MessageName
, _wrappedBodyTypeGenerator, partGenerator, messageDescription.Body.ReturnValue, wrapperTypeDecl.CustomAttributes);
616
AddWrapperPart(messageDescription.
MessageName
, _wrappedBodyTypeGenerator, partGenerator, part, wrapperTypeDecl.CustomAttributes);
903
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_DifferentWrapperNs, parent._request.
MessageName
, parent._request.Body.WrapperNamespace, parent._contractNS)));
907
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_DifferentWrapperName, parent._request.
MessageName
, parent._request.Body.WrapperName, defaultName.EncodedName)));
912
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_DifferentWrapperNs, parent._response.
MessageName
, parent._response.Body.WrapperNamespace, parent._contractNS)));
915
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_DifferentWrapperName, parent._response.
MessageName
, parent._response.Body.WrapperName, defaultName.EncodedName)));
925
parent._context.Contract.ServiceContractGenerator.Errors.Add(new MetadataConversionError(string.Format(SRServiceModel.SFxCannotImportAsParameters_HeadersAreIgnoredInEncoded, parent._request.
MessageName
), true/*isWarning*/));
928
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_HeadersAreUnsupported, parent._request.
MessageName
)));
934
parent._context.Contract.ServiceContractGenerator.Errors.Add(new MetadataConversionError(string.Format(SRServiceModel.SFxCannotImportAsParameters_HeadersAreIgnoredInEncoded, parent._response.
MessageName
), true/*isWarning*/));
936
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(string.Format(SRServiceModel.SFxCannotImportAsParameters_HeadersAreUnsupported, parent._response.
MessageName
)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\TypeLoader.cs (1)
1288
messageDescription.Body.WrapperName = GetWrapperName(messageContractAttribute.WrapperName, messageDescription.
MessageName
).EncodedName;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (4)
286
if (!XmlName.IsNullOrEmpty(message.
MessageName
))
287
wsdlOperationMessage.Name = message.
MessageName
.EncodedName;
396
if (!XmlName.IsNullOrEmpty(messageDescription.
MessageName
))
397
wsdlMessageBinding.Name = messageDescription.
MessageName
.EncodedName;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (2)
355
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxRpcMessageBodyPartNameInvalid, Operation.Name, this.Operation.Messages[0].
MessageName
, _request.BodyMapping.XsdElementName, this.Operation.Name)));
361
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxRpcMessageBodyPartNameInvalid, Operation.Name, this.Operation.Messages[1].
MessageName
, _reply.BodyMapping.XsdElementName, responseName.EncodedName)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
177
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxInvalidStreamInTypedMessage, messageDescription.
MessageName
)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (4)
127
string.Format(SRServiceModel.SFxErrorSerializingHeader, messageDescription.
MessageName
, e.Message), e));
240
string.Format(SRServiceModel.SFxErrorDeserializingHeader, messageDescription.
MessageName
), e));
281
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxBodyCannotBeNull, messageDescription.
MessageName
)));
301
string.Format(SRServiceModel.SFxErrorSerializingBody, messageDescription.
MessageName
, e.Message), e));