224 references to Name
System.ServiceModel (106)
System\ServiceModel\Administration\ContractInstanceProvider.cs (1)
76operation.SetProperty(AdministrationStrings.Name, operationDescription.Name);
System\ServiceModel\ComIntegration\ComPlusDiagnosticTraceRecords.cs (1)
412ComPlusDispatchMethodSchema record = new ComPlusDispatchMethodSchema(methodInfo.opDesc.Name, methodInfo.paramList, methodInfo.ReturnVal);
System\ServiceModel\ComIntegration\DispatchProxy.cs (3)
107dispToName[dispIndex] = opDesc.Name; 108nameToDisp[opDesc.Name] = dispIndex; 348ProxyOperationRuntime operationRuntime = channelBuilderSettings.ServiceChannel.ClientRuntime.GetRuntime().GetOperationByName(opDesc.Name);
System\ServiceModel\ComIntegration\MexServiceChannelBuilder.cs (1)
175operation = serviceChannelFactory.ClientRuntime.Operations[opDesc.Name];
System\ServiceModel\ComIntegration\WsdlServiceChannelBuilder.cs (1)
169operation = serviceChannelFactory.ClientRuntime.Operations[opDesc.Name];
System\ServiceModel\Configuration\UnrecognizedPolicyAssertionElement.cs (1)
77WriteComment(String.Format(CultureInfo.InvariantCulture, "<wsdl:operation name='{0}'>", operation.Name), indent, writer, settings);
System\ServiceModel\Description\DispatcherBuilder.cs (8)
976child = new ClientOperation(parent, operation.Name, operation.Messages[0].Action); 980child = new ClientOperation(parent, operation.Name, operation.Messages[0].Action, 1007child = new DispatchOperation(parent, operation.Name, requestAction); 1012child = new DispatchOperation(parent, operation.Name, requestAction, replyAction); 1093ClientOperation proxyOperation = proxy.Operations[operation.Name]; 1110if (dispatch.Operations.Contains(operation.Name)) 1112dispatchOperation = dispatch.Operations[operation.Name]; 1114if (dispatchOperation == null && dispatch.UnhandledDispatchOperation != null && dispatch.UnhandledDispatchOperation.Name == operation.Name)
System\ServiceModel\Description\MessageContractExporter.cs (7)
62throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.CannotHaveTwoOperationsWithTheSameElement5, parentOperation.OperationMethod.DeclaringType, parentOperation.OperationMethod.Name, qname, existingElement.Operation.OperationMethod.DeclaringType, existingElement.Operation.Name))); 130StreamFormatter streamFormatter = StreamFormatter.Create(description, operation.Name, isRequest); 228XmlQualifiedName typeName = ExportType(fault.DetailType, fault.Name, operation.Name, out xsdType); 234throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxFaultTypeAnonymous, operation.Name, fault.DetailType.FullName))); 949XmlQualifiedName typeName = ExportType(dataContractType, header.Name, operation.Name, out xsdType); 979XmlQualifiedName typeName = ExportType(dataContractType, description.Body.ReturnValue.Name, operation.Name, out xsdType); 987XmlQualifiedName typeName = ExportType(dataContractType, bodyPart.Name, operation.Name, out xsdType);
System\ServiceModel\Description\MessageContractImporter.cs (9)
173{ "Operation", operation.Name }, 372operation.Name, operationBinding.Binding.Name, GetUse(operationStyleAndUse), GetStyle(operationStyleAndUse), 420AddError(SR.GetString(SR.SFxInconsistentWsdlOperationStyleInOperationMessages, operation.Name, inferredOperationStyle, style)); 559request.Body.WrapperName = operation.Name; 567response.Body.WrapperName = TypeLoader.GetBodyWrapperResponseName(operation.Name).EncodedName; 619TraceFaultCannotBeImported(fault.Name, description.Name, SR.GetString(SR.SFxWsdlOperationFaultNeedsMessageAttribute2, fault.Name, fault.Operation.PortType.Name)); 628TraceFaultCannotBeImported(fault.Name, description.Name, SR.GetString(SR.UnsupportedWSDLOnlyOneMessage)); 638TraceFaultCannotBeImported(fault.Name, description.Name, SR.GetString(SR.UnsupportedWSDLTheFault)); 1899throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxDataContractSerializerDoesNotSupportEncoded, operation.Name)));
System\ServiceModel\Description\OperationDescription.cs (1)
270throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new System.InvalidOperationException(SR.GetString(SR.SFxOperationMustHaveOneOrTwoMessages, this.Name)));
System\ServiceModel\Description\OperationDescriptionCollection.cs (2)
21if (this[i].Name == name) 32if (this[i].Name == name)
System\ServiceModel\Description\TypeLoader.cs (27)
494opDesc.Name, 504opDesc.Name, 515opDesc.Name, 728Collection<OperationDescription> existingOps = contractDescription.Operations.FindAll(op.Name); 735op.Name, inheritedContractDescription.Name, existingOp.DeclaringContract.Name))); 1562this.syncOperation.Name))); 1578this.syncOperation.Name))); 1595this.syncOperation.Name))); 1610this.syncOperation.Name))); 1624this.syncOperation.Name, 1640this.syncOperation.Name, 1655this.syncOperation.Name, 1672this.syncOperation.Name, 1703this.syncOperation.Name))); 1718this.syncOperation.Name))); 1732this.syncOperation.Name))); 1745this.syncOperation.Name, 1760this.syncOperation.Name, 1774this.syncOperation.Name, 1790this.syncOperation.Name, 1822this.taskOperation.Name))); 1838this.taskOperation.Name))); 1853this.taskOperation.Name))); 1867this.taskOperation.Name, 1883this.taskOperation.Name, 1898this.taskOperation.Name, 1915this.taskOperation.Name,
System\ServiceModel\Description\WsdlExporter.cs (3)
56string warningMsg = isWildcardAction ? SR.GetString(SR.WarnSkippingOpertationWithWildcardAction, contract.Name, contract.Namespace, operation.Name) 57: SR.GetString(SR.WarnSkippingOpertationWithSessionOpenNotificationEnabled, "Action", OperationDescription.SessionOpenedAction, contract.Name, contract.Namespace, operation.Name); 1090return operationDescription.Name;
System\ServiceModel\Description\XmlSerializerOperationBehavior.cs (11)
314keyBase = keyBase + operation.Name; 389throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxKnownTypeNull, Operation.Name))); 393if (this.request != null && this.IsRpc && this.Operation.IsValidateRpcWrapperName && this.request.BodyMapping.XsdElementName != this.Operation.Name) 394throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxRpcMessageBodyPartNameInvalid, Operation.Name, this.Operation.Messages[0].MessageName, request.BodyMapping.XsdElementName, this.Operation.Name))); 398XmlName responseName = TypeLoader.GetBodyWrapperResponseName(this.Operation.Name); 400throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxRpcMessageBodyPartNameInvalid, Operation.Name, this.Operation.Messages[1].MessageName, reply.BodyMapping.XsdElementName, responseName.EncodedName))); 469throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxHeaderNameMismatchInOperation, this.Operation.Name, this.Operation.DeclaringContract.Name, this.Operation.DeclaringContract.Namespace, header.Name, headerName))); 476throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxHeaderNamespaceMismatchInOperation, this.Operation.Name, this.Operation.DeclaringContract.Name, this.Operation.DeclaringContract.Namespace, header.Namespace, headerNs))); 529throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxRpcMessageMustHaveASingleBody, Operation.Name, message.MessageName))); 621throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxFaultTypeAnonymous, this.Operation.Name, fault.DetailType.FullName)));
System\ServiceModel\Diagnostics\ServiceModelPerformanceCounters.cs (4)
46this.actionToOperation.Add(opDescription.Messages[0].Action, opDescription.Name); 49if (!this.operationPerfCounters.TryGetValue(opDescription.Name, out c)) 52PerformanceCountersFactory.CreateOperationCounters(serviceHost.Description.Name, contractDescription.Name, opDescription.Name, endpointDispatcher.PerfCounterBaseId); 55this.operationPerfCounters.Add(opDescription.Name, counters);
System\ServiceModel\Dispatcher\DataContractSerializerOperationFormatter.cs (1)
100throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxKnownTypeNull, description.Name)));
System\ServiceModel\Dispatcher\OperationFormatter.cs (5)
46operationName = description.Name; 491throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxDocEncodedNotSupported, operation.Name))); 505throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxTypedMessageCannotBeRpcLiteral, operation.Name))); 516throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxTypedOrUntypedMessageCannotBeMixedWithParameters, operation.Name))); 518throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxTypedOrUntypedMessageCannotBeMixedWithVoidInRpc, operation.Name)));
System\ServiceModel\Dispatcher\OperationSelectorBehavior.cs (4)
51operationMap.Add(operation.SyncMethod.MethodHandle, operation.Name); 58operationMap.Add(operation.BeginMethod.MethodHandle, operation.Name); 59operationMap.Add(operation.EndMethod.MethodHandle, operation.Name); 67operationMap.Add(operation.TaskMethod.MethodHandle, operation.Name);
System\ServiceModel\Dispatcher\PrimitiveOperationFormatter.cs (6)
437SR.GetString(SR.SFxErrorDeserializingReplyBodyMore, operation.Name, xe.Message), xe)); 442SR.GetString(SR.SFxErrorDeserializingReplyBodyMore, operation.Name, fe.Message), fe)); 447SR.GetString(SR.SFxErrorDeserializingReplyBodyMore, operation.Name, se.Message), se)); 477SR.GetString(SR.SFxErrorDeserializingRequestBodyMore, operation.Name, xe.Message), 484SR.GetString(SR.SFxErrorDeserializingRequestBodyMore, operation.Name, fe.Message), 490SR.GetString(SR.SFxErrorDeserializingRequestBodyMore, operation.Name, se.Message),
System\ServiceModel\Dispatcher\SecurityValidationBehavior.cs (2)
298throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.OperationDoesNotAllowImpersonation, operation.Name, endpoint.Contract.Name, endpoint.Contract.Namespace))); 321SR.GetString(SR.BindingDoesNotSupportWindowsIdenityForImpersonation, operation.Name, binding.Name, binding.Namespace, contract.Name, contract.Namespace)));
System\ServiceModel\Dispatcher\TransactionValidationBehavior.cs (5)
72SR.GetString(SR.SFxTransactionAutoCompleteFalseOnCallbackContract, autoCompleteFalseOperation.Name, serviceEndpoint.Contract.Name))); 169endpoint.Contract.Name, autoCompleteFalseOperation.Name))); 180endpoint.Contract.Name, autoCompleteFalseOperation.Name))); 276SR.GetString(SR.SFxOneWayAndTransactionsIncompatible, endpoint.Contract.Name, operation.Name))); 353SR.GetString(id, contractName, operation.Name)));
System\ServiceModel\Dispatcher\XmlSerializerOperationFormatter.cs (1)
36throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR.GetString(SR.SFxDocEncodedNotSupported, description.Name)));
System\ServiceModel\MsmqIntegration\MsmqIntegrationValidationBehavior.cs (1)
111SR.GetString(SR.MsmqInvalidServiceOperationForMsmqIntegrationBinding, binding.Name, operation.Name, contract.Name)));
System\ServiceModel\OperationBehaviorAttribute.cs (1)
104description.Name)));
System.ServiceModel.Activities (65)
System\ServiceModel\Activities\ClientOperationFormatterProvider.cs (1)
46System.ServiceModel.Dispatcher.ClientOperation clientOperation = new System.ServiceModel.Dispatcher.ClientOperation(DummyClientRuntime, operationDescription.Name, operationDescription.Messages[0].Action);
System\ServiceModel\Activities\ContractInferenceHelper.cs (2)
487operation.Name, operation.DeclaringContract.Name, typeof(DataContractSerializerOperationBehavior)))); 501SR.OperationHasSerializerBehavior(operation.Name, operation.DeclaringContract.Name, typeof(XmlSerializerOperationBehavior))));
System\ServiceModel\Activities\ContractValidationHelper.cs (35)
162Constraint.AddValidationError(context, new ValidationError(SR2.PropertyMismatch(action, "Fault Action", targetFault.Action, targetOperation.Name, targetOperation.DeclaringContract.Name))); 166Constraint.AddValidationError(context, new ValidationError(SR2.PropertyMismatch(NamingHelper.XmlName(name), "Fault Name", targetFault.Name, targetOperation.Name, targetOperation.DeclaringContract.Name))); 170Constraint.AddValidationError(context, new ValidationError(SR2.PropertyMismatch(targetOperation.DeclaringContract.Namespace, "Fault Namespace", targetFault.Namespace, targetOperation.Name, targetOperation.DeclaringContract.Name))); 174Constraint.AddValidationError(context, new ValidationError(SR2.ProtectionLevelNotSupported(targetOperation.Name, targetOperation.DeclaringContract.Name))); 187Constraint.AddValidationError(context, new ValidationError(SR2.FaultTypeMismatch(faultType.FullName, targetOperation.Name, targetOperation.DeclaringContract.Name))); 197Constraint.AddValidationError(context, new ValidationError(SR2.PropertyMismatch(overridingAction, "Action", targetMessage.Action, targetOperation.Name, targetOperation.DeclaringContract.Name))); 212Constraint.AddValidationError(context, new ValidationError(SR2.PropertyMismatch(declaredMessageType.ToString(), "type", targetMessage.MessageType.ToString(), operation.Name, operation.DeclaringContract.Name))); 217Constraint.AddValidationError(context, new ValidationError(SR2.PropertyMismatch(declaredMessageType.ToString(), "type", "null", operation.Name, operation.DeclaringContract.Name))); 238Constraint.AddValidationError(context, new ValidationError(SR2.FirstParameterDoesnotMatchTheReturnValue(declaredMessageType.FullName, targetMessage.Body.ReturnValue.Type.Name, operation.Name, operation.DeclaringContract.Name))); 245Constraint.AddValidationError(context, new ValidationError(SR2.ParameterNumberMismatch(declaredMessageType.FullName, operation.Name, operation.DeclaringContract.Name))); 249Constraint.AddValidationError(context, new ValidationError(SR2.MessageContentCannotHaveMoreThanOneParameter(operation.Name, operation.DeclaringContract.Name))); 255Constraint.AddValidationError(context, new ValidationError(SR2.MessageTypeMismatch(targetMessage.Body.Parts[0].Type.FullName, operation.Name, operation.DeclaringContract.Name))); 272Constraint.AddValidationError(context, new ValidationError(SR2.MessageHeaderNotSupported(operation.Name, operation.DeclaringContract.Name))); 276Constraint.AddValidationError(context, new ValidationError(SR2.MessagePropertyIsNotSupported(operation.Name, operation.DeclaringContract.Name))); 280Constraint.AddValidationError(context, new ValidationError(SR2.ProtectionLevelIsNotSupported(operation.Name, operation.DeclaringContract.Name))); 287Constraint.AddValidationError(context, new ValidationError(SR2.MessageCannotBeEmpty(operation.Name, operation.DeclaringContract.Name))); 328Constraint.AddValidationError(context, new ValidationError(SR2.NotSupportMoreThanOneParametersInMessageContract(operation.Name, operation.DeclaringContract.Name))); 336Constraint.AddValidationError(context, new ValidationError(SR2.WrapperNotSupportedInMessageContract(operation.Name, operation.DeclaringContract.Name))); 341Constraint.AddValidationError(context, new ValidationError(SR2.WrapperNotSupportedInMessageContract(operation.Name, operation.DeclaringContract.Name))); 346Constraint.AddValidationError(context, new ValidationError(SR2.ParameterNumberMismatch(declaredMessageType.FullName, operation.Name, operation.DeclaringContract.Name))); 350Constraint.AddValidationError(context, new ValidationError(SR2.MessageContentCannotHaveMoreThanOneParameter(operation.Name, operation.DeclaringContract.Name))); 362Constraint.AddValidationError(context, new ValidationError(SR2.PropertyMismatch(partName, "parameter name", targetPart.Name, operation.Name, operation.DeclaringContract.Name))); 366Constraint.AddValidationError(context, new ValidationError(SR2.PropertyMismatch(partNamespace, "parameter namespace", targetPart.Namespace, operation.Name, operation.DeclaringContract.Name))); 372Constraint.AddValidationError(context, new ValidationError(SR2.ParameterTypeMismatch(declaredMessageType.FullName, targetPart.Type.FullName, operation.Name, operation.DeclaringContract.Name))); 376Constraint.AddValidationError(context, new ValidationError(SR2.ParameterTypeMismatch(TypeHelper.VoidType.FullName, targetPart.Type.FullName, operation.Name, operation.DeclaringContract.Name))); 381Constraint.AddValidationError(context, new ValidationError(SR2.ProtectionLevelIsNotSupported(operation.Name, operation.DeclaringContract.Name))); 400Constraint.AddValidationError(context, new ValidationError(SR2.UnwrappedMessageNotSupported(targetOperation.Name, targetOperation.DeclaringContract.Name))); 404Constraint.AddValidationError(context, new ValidationError(SR2.UnwrappedMessageNotSupported(targetOperation.Name, targetOperation.DeclaringContract.Name))); 420Constraint.AddValidationError(context, new ValidationError(SR2.FirstParameterDoesnotMatchTheReturnValue(argument.ArgumentType.FullName, targetMessageBody.ReturnValue.Type.FullName, targetOperation.Name, targetOperation.DeclaringContract.Name))); 426Constraint.AddValidationError(context, new ValidationError(SR2.ParameterPositionMismatch(targetMessageBody.ReturnValue.Name, targetOperation.Name, targetOperation.DeclaringContract.Name, "0"))); 431Constraint.AddValidationError(context, new ValidationError(SR2.ReturnValueMissing(targetMessageBody.ReturnValue.Type.FullName, targetOperation.Name, targetOperation.DeclaringContract.Name))); 444Constraint.AddValidationError(context, new ValidationError(SR2.ParameterTypeMismatch(targetPart.Name, targetPart.Type.FullName, targetOperation.Name, targetOperation.DeclaringContract.Name))); 450Constraint.AddValidationError(context, new ValidationError(SR2.ParameterPositionMismatch(targetPart.Name, targetOperation.Name, targetOperation.DeclaringContract.Name, benchmarkIndex))); 455Constraint.AddValidationError(context, new ValidationError(SR2.MissingParameter(targetPart.Name, targetOperation.Name, targetOperation.DeclaringContract.Name))); 470Constraint.AddValidationError(context, new ValidationError(SR2.ExtraParameter(name, targetOperation.Name, targetOperation.DeclaringContract.Name)));
System\ServiceModel\Activities\Description\BufferedReceiveServiceBehavior.cs (1)
80new InvalidOperationException(SR.BufferedReceiveRequiresReceiveContext(operation.Name)));
System\ServiceModel\Activities\Description\WorkflowInstanceManagementBehavior.cs (1)
193DispatchOperation operationDispatcher = new DispatchOperation(endpointDispatcher.DispatchRuntime, operation.Name,
System\ServiceModel\Activities\Dispatcher\ControlOperationInvoker.cs (1)
61this.operationName = description.Name;
System\ServiceModel\Activities\InternalSendMessage.cs (2)
3247return (o1.Name == o2.Name &&
System\ServiceModel\Activities\MessageBuilder.cs (2)
227message.Body.ReturnValue = new MessagePartDescription(operation.Name + TypeLoader.ReturnSuffix, 235message.Body.WrapperName = operation.Name + (isResponse ? TypeLoader.ResponseSuffix : string.Empty);
System\ServiceModel\Activities\Receive.cs (2)
495receiveActivity.OperationName = operation.Name; 496receiveActivity.DisplayName = operation.Name + "Receive";
System\ServiceModel\Activities\ReceiveMessageContent.cs (1)
218Constraint.AddValidationError(context, new ValidationError(SR.MisuseOfMessageContent(targetOperation.Name, targetOperation.DeclaringContract.Name)));
System\ServiceModel\Activities\ReceiveParametersContent.cs (1)
186Constraint.AddValidationError(context, new ValidationError(SR.MisuseOfParameterContent(targetOperation.Name, targetOperation.DeclaringContract.Name)));
System\ServiceModel\Activities\SendMessageContent.cs (1)
235Constraint.AddValidationError(context, new ValidationError(SR.MisuseOfMessageContent(targetOperation.Name, targetOperation.DeclaringContract.Name)));
System\ServiceModel\Activities\SendParametersContent.cs (1)
207Constraint.AddValidationError(context, new ValidationError(SR.MisuseOfParameterContent(targetOperation.Name, targetOperation.DeclaringContract.Name)));
System\ServiceModel\Activities\SendReply.cs (1)
280reply.DisplayName = operation.Name + "SendReply";
System\ServiceModel\Activities\ServiceOperationFormatterProvider.cs (1)
36System.ServiceModel.Dispatcher.DispatchOperation dispatchOperation = new System.ServiceModel.Dispatcher.DispatchOperation(DummyDispatchRuntime, operationDescription.Name, operationDescription.Messages[0].Action);
System\ServiceModel\Activities\WorkflowControlEndpoint.cs (1)
138switch (operationDescription.Name)
System\ServiceModel\Activities\WorkflowService.cs (11)
328errors.Add(new ValidationError(SR.OperationIsNotImplemented(property.Operation.Name, property.Operation.DeclaringContract.Name), true)); 337errors.Add(new ValidationError(SR.TwoWayIsImplementedAsOneWay(property.Operation.Name, property.Operation.DeclaringContract.Name), true, string.Empty, recv)); 366OperationIdentifier id = new OperationIdentifier(operation.DeclaringContract.Name, operation.DeclaringContract.Namespace, operation.Name); 369validationErrors.Add(new ValidationError(SR.DuplicatedContract(operation.DeclaringContract.Name, operation.Name), true)); 524TD.InferredOperationDescription(operation.Name, contract.Name, operation.IsOneWay.ToString()); 1119Constraint.AddValidationError(context, new ValidationError(SR.TargetContractCannotBeOneWayWithTransactionFlow(targetOperation.Name, targetOperation.DeclaringContract.Name))); 1125Constraint.AddValidationError(context, new ValidationError(SR.ReceiveIsNotInTRS(targetOperation.Name, targetOperation.DeclaringContract.Name))); 1132Constraint.AddValidationError(context, new ValidationError(SR.ReceiveIsInTRSWhenTransactionFlowNotAllowed(targetOperation.Name, targetOperation.DeclaringContract.Name), true)); 1154Constraint.AddValidationError(context, new ValidationError(SR.PropertyMismatch(receiveProtectionLevelString, "ProtectionLevel", targetProtectionLevelString, targetOperation.Name, targetOperation.DeclaringContract.Name))); 1171Constraint.AddValidationError(context, new ValidationError(SR.MissingKnownTypes(targetType.FullName, targetOperation.Name, targetOperation.DeclaringContract.Name))); 1267Constraint.AddValidationError(context, new ValidationError(SR.OnewayContractIsImplementedAsTwoWay(property.Operation.Name, contractName)));
System.ServiceModel.Web (44)
System\ServiceModel\Description\WCFServiceClientProxyGenerator.cs (1)
109WebServiceMethodData methodData = new WebServiceMethodData(serviceData, XmlConvert.DecodeName(operation.Name), parameterDataDictionary, useHttpGet);
System\ServiceModel\Description\WebHttpBehavior.cs (27)
125if (clientRuntime.Operations.Contains(od.Name)) 128ClientOperation cop = clientRuntime.Operations[od.Name]; 192actionStarOperationName = od.Name; 243if (endpointDispatcher.DispatchRuntime.Operations.Contains(od.Name)) 246dop = endpointDispatcher.DispatchRuntime.Operations[od.Name]; 249else if (endpointDispatcher.DispatchRuntime.UnhandledDispatchOperation.Name == od.Name) 272formatSelectingMessageInspector.RegisterOperation(od.Name, replyDispatchAsMultiplexing); 501throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.JsonFormatRequiresDataContract, od.Name, od.DeclaringContract.Name, od.DeclaringContract.Namespace))); 858SR2.GetString(SR2.GETCannotHaveMCParameter, operationDescription.Name, operationDescription.DeclaringContract.Name, operationDescription.Messages[0].MessageType.Name))); 863SR2.UTParamsDoNotComposeWithMessageContract, operationDescription.Name, operationDescription.DeclaringContract.Name))); 870SR2.UTParamsDoNotComposeWithMessage, operationDescription.Name, operationDescription.DeclaringContract.Name))); 879SR2.GetString(SR2.MultipleWebAttributes, od.Name, od.DeclaringContract.Name))); 957throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.AtMostOneRequestBodyParameterAllowedForUnwrappedMessages, declaringOperation.Name, declaringOperation.DeclaringContract.Name))); 969throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.OnlyReturnValueBodyParameterAllowedForUnwrappedMessages, declaringOperation.Name, declaringOperation.DeclaringContract.Name))); 1001throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR2.GetString(SR2.AtMostOneRequestBodyParameterAllowedForStream, declaringOperation.Name, declaringOperation.DeclaringContract.Name))); 1012throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR2.GetString(SR2.NoOutOrRefStreamParametersAllowed, message.Body.Parts[i].Name, declaringOperation.Name, declaringOperation.DeclaringContract.Name))); 1020throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentException(SR2.GetString(SR2.NoOutOrRefParametersAllowedWithStreamResult, declaringOperation.Name, declaringOperation.DeclaringContract.Name))); 1072throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.JsonFormatRequiresDataContract, od.Name, od.DeclaringContract.Name, od.DeclaringContract.Namespace))); 1208SR2.GetString(SR2.GETCannotHaveBody, operation.Name, operation.DeclaringContract.Name, operation.Messages[0].Body.Parts[0].Name))); 1213SR2.GetString(SR2.GETCannotHaveMCParameter, operation.Name, operation.DeclaringContract.Name, operation.Messages[0].MessageType.Name))); 1224ValidateNoMessageContractHeaders(od.Messages[0], od.Name, endpoint.Contract.Name); 1225ValidateNoBareMessageContractWithMultipleParts(od.Messages[0], od.Name, endpoint.Contract.Name); 1226ValidateNoMessageContractWithStream(od.Messages[0], od.Name, endpoint.Contract.Name); 1229ValidateNoMessageContractHeaders(od.Messages[1], od.Name, endpoint.Contract.Name); 1230ValidateNoBareMessageContractWithMultipleParts(od.Messages[1], od.Name, endpoint.Contract.Name); 1231ValidateNoMessageContractWithStream(od.Messages[1], od.Name, endpoint.Contract.Name); 1262throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.RpcEncodedNotSupportedForNoneMessageVersion, od.Name, od.DeclaringContract.Name, od.DeclaringContract.Namespace)));
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (3)
168SR2.GetString(SR2.WebScriptInvalidHttpRequestMethod, operation.Name, 196SR2.GetString(SR2.WebScriptOutRefOperationsNotSupported, operation.Name, 302DispatchOperation dispatchOperation = new DispatchOperation(metadataEndpointDispatcher.DispatchRuntime, metadataOperation.Name, metadataOperation.Messages[0].Action, metadataOperation.Messages[1].Action);
System\ServiceModel\Dispatcher\HelpPage.cs (2)
45operationInfoDictionary.Add(od.Name, new OperationHelpInformation(behavior, od)); 147return od.Name;
System\ServiceModel\Dispatcher\HttpStreamFormatter.cs (1)
33this.operationName = operation.Name;
System\ServiceModel\Dispatcher\SingleBodyParameterMessageFormatter.cs (3)
33this.operationName = operation.Name; 255throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SR2.GetString(SR2.OnlyDataContractAndXmlSerializerTypesInUnWrappedMode, operation.Name))); 263throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.JsonFormatRequiresDataContract, operation.Name, operation.DeclaringContract.Name, operation.DeclaringContract.Namespace)));
System\ServiceModel\Dispatcher\UriTemplateClientFormatter.cs (1)
130utString = operationDescription.Name; // note: not + "/*", see 8988 and 9653
System\ServiceModel\Dispatcher\UriTemplateDispatchFormatter.cs (1)
38this.operationName = operationDescription.Name;
System\ServiceModel\Dispatcher\WebErrorHandler.cs (1)
68throw System.ServiceModel.DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(SR2.GetString(SR2.JsonFormatRequiresDataContract, description.Name, description.DeclaringContract.Name, description.DeclaringContract.Namespace)));
System\ServiceModel\Dispatcher\WebHttpDispatchOperationSelector.cs (4)
85this.catchAllOperationName = od.Name; 96alreadyHaves.Add(wcfKey, od.Name); 105methodSpecificTable.KeyValuePairs.Add(new KeyValuePair<UriTemplate, object>(ut, od.Name)); 106this.templates.Add(od.Name, ut);
System.WorkflowServices (9)
System\ServiceModel\Description\DurableServiceAttribute.cs (3)
288operation.Name))); 302operation.Name))); 336operation.Name,
System\ServiceModel\Dispatcher\WorkflowOperationInvoker.cs (5)
65staticQueueName = QueueNameHelper.Create(this.syncMethod.DeclaringType, operationDescription.Name); 126PerformanceCounters.MethodCalled(this.operationDescription.Name); 184PerformanceCounters.MethodReturnedFault(this.operationDescription.Name); 199PerformanceCounters.MethodReturnedError(this.operationDescription.Name); 218PerformanceCounters.MethodReturnedSuccess(this.operationDescription.Name, duration);
System\Workflow\Activities\ServiceOperationHelpers.cs (1)
288new KeyValuePair<Type, string>(opDescription.DeclaringContract.ContractType, opDescription.Name);