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