24 references to Name
System.Web.Services (24)
System\Web\Services\Description\HttpProtocolReflector.cs (1)
119if (name.Length == 0) name = Method.Name;
System\Web\Services\Description\ProtocolReflector.cs (5)
197string messageName = XmlConvert.EncodeLocalName(methodAttr.MessageName.Length == 0 ? Method.Name : methodAttr.MessageName); 198bool diffNames = messageName != Method.Name; 222string messageName = XmlConvert.EncodeLocalName(methodAttr.MessageName.Length == 0 ? Method.Name : methodAttr.MessageName); 223bool diffNames = messageName != Method.Name; 414operation.Name = XmlConvert.EncodeLocalName(method.Name);
System\Web\Services\Description\ServiceDescriptionReflector.cs (1)
223if (messageName.Length == 0) messageName = method.Name;
System\Web\Services\Description\SoapProtocolReflector.cs (1)
198throw new InvalidOperationException(Res.GetString(Res.WsdlGenRpcLitAnonimousType, Method.DeclaringType.Name, Method.Name, member.MemberName));
System\Web\Services\Protocols\HttpClientProtocol.cs (2)
48methods.Add(methodInfo.Name, method); 54throw new InvalidOperationException(Res.GetString(Res.WebReflectionError, methodInfo.DeclaringType.FullName, methodInfo.Name), e);
System\Web\Services\Protocols\HttpServerProtocol.cs (1)
101if (method.name.Length == 0) method.name = method.methodInfo.Name;
System\Web\Services\Protocols\RemoteDebugger.cs (1)
255methodBuilder.Append(protocol.MethodInfo.Name);
System\Web\Services\Protocols\SoapReflector.cs (5)
309if (soapMethod.name.Length == 0) soapMethod.name = methodInfo.Name; 314requestElementName = methodAttribute.requestName.Length == 0 || !client ? methodInfo.Name : methodAttribute.requestName; 332responseElementName = methodInfo.Name + "Response"; 525throw new InvalidOperationException(Res.GetString(Res.WebReflectionErrorMethod, methodInfo.DeclaringType.Name, methodInfo.Name), e); 571if (messageName.Length == 0) messageName = methodInfo.Name;
System\Web\Services\Protocols\SoapServerProtocol.cs (5)
168throw new SoapException(Res.GetString(Res.TheMethodDoesNotHaveARequestElementEither1, serverMethod.methodInfo.Name), new XmlQualifiedName(Soap.Code.Client, Soap.Namespace)); 177throw new SoapException(Res.GetString(Res.TheMethodsAndUseTheSameSoapActionWhenTheService3, serverMethod.methodInfo.Name, duplicateMethod.methodInfo.Name, soapMethod.action), new XmlQualifiedName(Soap.Code.Client, Soap.Namespace)); 188throw new SoapException(Res.GetString(Res.TheMethodsAndUseTheSameRequestElementXmlns4, serverMethod.methodInfo.Name, duplicateMethod.methodInfo.Name, soapMethod.requestElementName.Name, soapMethod.requestElementName.Namespace), new XmlQualifiedName(Soap.Code.Client, Soap.Namespace));
System\Web\Services\Protocols\WebServiceHandler.cs (2)
106TraceMethod userMethod = Tracing.On ? new TraceMethod(protocol.Target, protocol.MethodInfo.Name, this.parameters) : null; 293TraceMethod userMethod = Tracing.On ? new TraceMethod(protocol.Target, protocol.MethodInfo.Name, this.parameters) : null;