1 write to Name
System.Web.Services (1)
System\Web\Services\WebMethodAttribute.cs (1)
291
binding.
Name
= declaration.DeclaringType.Name;
15 references to Name
System.Web.Services (15)
System\Web\Services\Description\ProtocolReflector.cs (4)
289
bindings[reflectedBinding.bindingAttr.
Name
] = method;
310
if (bindings[bindingAttribute.
Name
] != null)
327
if (bindings[bindingAttribute.
Name
] != null)
362
string bindingName = XmlConvert.EncodeLocalName(reflectedBinding.bindingAttr.
Name
);
System\Web\Services\Description\ServiceDescriptionReflector.cs (1)
224
string key = method.Binding == null ? messageName : method.Binding.
Name
+ "." + messageName;
System\Web\Services\Protocols\SoapClientProtocol.cs (2)
204
if (clientType.Binding.
Name
== soapBinding.Binding.Name &&
211
throw new InvalidOperationException(Res.GetString(Res.TheBindingNamedFromNamespaceWasNotFoundIn3, clientType.Binding.
Name
, clientType.Binding.Namespace, Url));
System\Web\Services\Protocols\SoapReflector.cs (3)
225
if (binding.Length > 0 && binding != method.Binding.
Name
) {
226
throw new InvalidOperationException(Res.GetString(Res.WebInvalidBindingName, binding, method.Binding.
Name
));
228
return method.Binding.
Name
;
System\Web\Services\WebMethodAttribute.cs (2)
290
if (binding.
Name
== null || binding.
Name
.Length == 0) {
System\Web\Services\WebServiceBindingAttribute.cs (3)
120
if (binding.Length > 0 && methodInfo.Binding.
Name
!= binding)
121
throw new InvalidOperationException(Res.GetString(Res.WebInvalidBindingName, binding, methodInfo.Binding.
Name
));
128
if (attr.
Name
== binding) {