SoapProtocolImporter.IsBindingSupported Método

Definição

Determina se uma classe pode ser gerada para a associação atual.Determines whether a class can be generated for the current binding.

protected:
 override bool IsBindingSupported();
protected override bool IsBindingSupported ();
override this.IsBindingSupported : unit -> bool
Protected Overrides Function IsBindingSupported () As Boolean

Retornos

Boolean

true se a classe puder ser gerada para a associação atual; caso contrário, false.true if the class can be generated for the current binding; otherwise false.

Comentários

O IsBindingSupported método determina se uma classe deve ser gerada para a associação atual, conforme representado pela Binding propriedade.The IsBindingSupported method determines whether to generate a class for the current binding, as represented by the Binding property. O método verifica se a Binding propriedade da propriedade Extensions contém uma SoapBinding instância.The method checks whether the Binding property's Extensions property contains a SoapBinding instance. Além disso, o mecanismo de transporte obtido por meio da Transport propriedade deve ser compatível com a configuração atual dos serviços Web.In addition, the transport mechanism obtained through the Transport property must be supported by the current Web services configuration.

Aplica-se a