3 writes to MessageName
System.ServiceModel (3)
System\ServiceModel\Description\MessageDescription.cs (1)
53
this.
MessageName
= other.MessageName;
System\ServiceModel\Description\TypeLoader.cs (1)
1239
messageDescription.
MessageName
= new XmlName(NamingHelper.TypeName(typedMessageType));
System\ServiceModel\Description\WsdlImporter.cs (1)
510
messageDescription.
MessageName
= WsdlNamingHelper.GetOperationMessageName(wsdlOperationMessage);
31 references to MessageName
System.ServiceModel (31)
System\ServiceModel\Description\MessageContractExporter.cs (2)
505
string messageNameBase = XmlName.IsNullOrEmpty(messageDescription.
MessageName
) ? null : messageDescription.
MessageName
.EncodedName;
System\ServiceModel\Description\MessageDescription.cs (1)
53
this.MessageName = other.
MessageName
;
System\ServiceModel\Description\OperationGenerator.cs (14)
314
string messageName = XmlName.IsNullOrEmpty(message.
MessageName
) ? null : message.
MessageName
.DecodedName;
601
string messageName = XmlName.IsNullOrEmpty(messageDescription.
MessageName
) ? null : messageDescription.
MessageName
.DecodedName;
610
AddWrapperPart(messageDescription.
MessageName
, this.WrappedBodyTypeGenerator, partGenerator, messageDescription.Body.ReturnValue, wrapperTypeDecl.CustomAttributes);
619
AddWrapperPart(messageDescription.
MessageName
, this.WrappedBodyTypeGenerator, partGenerator, part, wrapperTypeDecl.CustomAttributes);
910
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(SR.GetString(SR.SFxCannotImportAsParameters_DifferentWrapperNs, parent.Request.
MessageName
, parent.Request.Body.WrapperNamespace, parent.ContractNS)));
914
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(SR.GetString(SR.SFxCannotImportAsParameters_DifferentWrapperName, parent.Request.
MessageName
, parent.Request.Body.WrapperName, defaultName.EncodedName)));
919
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(SR.GetString(SR.SFxCannotImportAsParameters_DifferentWrapperNs, parent.Response.
MessageName
, parent.Response.Body.WrapperNamespace, parent.ContractNS)));
922
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(SR.GetString(SR.SFxCannotImportAsParameters_DifferentWrapperName, parent.Response.
MessageName
, parent.Response.Body.WrapperName, defaultName.EncodedName)));
932
parent.Context.Contract.ServiceContractGenerator.Errors.Add(new MetadataConversionError(SR.GetString(SR.SFxCannotImportAsParameters_HeadersAreIgnoredInEncoded, parent.Request.
MessageName
), true/*isWarning*/));
935
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(SR.GetString(SR.SFxCannotImportAsParameters_HeadersAreUnsupported, parent.Request.
MessageName
)));
941
parent.Context.Contract.ServiceContractGenerator.Errors.Add(new MetadataConversionError(SR.GetString(SR.SFxCannotImportAsParameters_HeadersAreIgnoredInEncoded, parent.Response.
MessageName
), true/*isWarning*/));
943
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ParameterModeException(SR.GetString(SR.SFxCannotImportAsParameters_HeadersAreUnsupported, parent.Response.
MessageName
)));
System\ServiceModel\Description\TypeLoader.cs (1)
1242
messageDescription.Body.WrapperName = GetWrapperName(messageContractAttribute.WrapperName, messageDescription.
MessageName
).EncodedName;
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;
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (4)
394
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxRpcMessageBodyPartNameInvalid, Operation.Name, this.Operation.Messages[0].
MessageName
, request.BodyMapping.XsdElementName, this.Operation.Name)));
400
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxRpcMessageBodyPartNameInvalid, Operation.Name, this.Operation.Messages[1].
MessageName
, reply.BodyMapping.XsdElementName, responseName.EncodedName)));
529
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxRpcMessageMustHaveASingleBody, Operation.Name, message.
MessageName
)));
570
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxHeadersAreNotSupportedInEncoded, message.
MessageName
)));
System\ServiceModel\Dispatcher\StreamFormatter.cs (1)
174
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxInvalidStreamInTypedMessage, messageDescription.
MessageName
)));
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (4)
133
SR.GetString(SR.SFxErrorSerializingHeader, messageDescription.
MessageName
, e.Message), e));
245
SR.GetString(SR.SFxErrorDeserializingHeader, messageDescription.
MessageName
), e));
291
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxBodyCannotBeNull, messageDescription.
MessageName
)));
311
SR.GetString(SR.SFxErrorSerializingBody, messageDescription.
MessageName
, e.Message), e));