10 references to Binding
System.Web.Services (10)
System\Web\Services\Description\ServiceDescriptionReflector.cs (2)
224string key = method.Binding == null ? messageName : method.Binding.Name + "." + messageName;
System\Web\Services\Protocols\SoapReflector.cs (4)
224if (method.Binding != null) { 225if (binding.Length > 0 && binding != method.Binding.Name) { 226throw new InvalidOperationException(Res.GetString(Res.WebInvalidBindingName, binding, method.Binding.Name)); 228return method.Binding.Name;
System\Web\Services\WebServiceBindingAttribute.cs (4)
119if (methodInfo.Binding != null) { 120if (binding.Length > 0 && methodInfo.Binding.Name != binding) 121throw new InvalidOperationException(Res.GetString(Res.WebInvalidBindingName, binding, methodInfo.Binding.Name)); 122return methodInfo.Binding;