System.Web.Services.Description.SoapProtocolImporter.IsBindingSupported Method

Determines whether a class can be generated for the current binding.

Syntax

protected override bool IsBindingSupported ()

Returns

true if the class can be generated for the current binding; otherwise false.

Remarks

The SoapProtocolImporter.IsBindingSupported method determines whether to generate a class for the current binding, as represented by the SoapProtocolImporter.Binding property. The method checks whether the SoapProtocolImporter.Binding property's Binding.Extensions property contains a System.Web.Services.Description.SoapBinding instance. In addition, the transport mechanism obtained through the SoapBinding.Transport property must be supported by the current Web services configuration.

Requirements

Namespace: System.Web.Services.Description
Assembly: System.Web.Services (in System.Web.Services.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0