1 write to Operation
dotnet-svcutil-lib (1)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (1)
250
this.
Operation
= operation;
26 references to Operation
dotnet-svcutil-lib (26)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (26)
113
return new XmlSerializerOperationFormatter(_reflector.
Operation
, _reflector.Attribute, _reflector.Request, _reflector.Reply);
302
get { return this.
Operation
.DeclaringContract.Name; }
307
get { return this.
Operation
.DeclaringContract.Namespace; }
341
foreach (Type knownType in
Operation
.KnownTypes)
344
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxKnownTypeNull,
Operation
.Name)));
347
_request = CreateMessageInfo(this.
Operation
.Messages[0], ":Request");
354
if (_request != null && this.IsRpc && this.
Operation
.IsValidateRpcWrapperName && !skipVerifyXsdElementName && _request.BodyMapping.XsdElementName != this.
Operation
.Name)
355
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxRpcMessageBodyPartNameInvalid,
Operation
.Name, this.
Operation
.Messages[0].MessageName, _request.BodyMapping.XsdElementName, this.
Operation
.Name)));
358
_reply = CreateMessageInfo(this.
Operation
.Messages[1], ":Response");
359
XmlName responseName = TypeLoader.GetBodyWrapperResponseName(this.
Operation
.Name);
360
if (_reply != null && this.IsRpc && this.
Operation
.IsValidateRpcWrapperName && !skipVerifyXsdElementName && _reply.BodyMapping.XsdElementName != responseName.EncodedName)
361
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxRpcMessageBodyPartNameInvalid,
Operation
.Name, this.
Operation
.Messages[1].MessageName, _reply.BodyMapping.XsdElementName, responseName.EncodedName)));
373
for (int i = 0; i < this.
Operation
.Faults.Count; i++)
375
FaultDescription fault = this.
Operation
.Faults[i];
376
FaultContractInfo faultContractInfo = new FaultContractInfo(fault.Action, fault.DetailType, fault.ElementName, fault.Namespace, this.
Operation
.KnownTypes);
423
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxHeaderNameMismatchInOperation, this.
Operation
.Name, this.
Operation
.DeclaringContract.Name, this.
Operation
.DeclaringContract.Namespace, header.Name, headerName)));
430
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxHeaderNamespaceMismatchInOperation, this.
Operation
.Name, this.
Operation
.DeclaringContract.Name, this.
Operation
.DeclaringContract.Namespace, header.Namespace, headerNs)));
525
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(string.Format(SRServiceModel.SFxFaultTypeAnonymous, this.
Operation
.Name, fault.DetailType.FullName)));