WsdlImporter.ImportBinding(Binding) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a Binding object that represents binding information from a set of metadata documents.
public:
System::ServiceModel::Channels::Binding ^ ImportBinding(System::Web::Services::Description::Binding ^ wsdlBinding);
public System.ServiceModel.Channels.Binding ImportBinding (System.Web.Services.Description.Binding wsdlBinding);
member this.ImportBinding : System.Web.Services.Description.Binding -> System.ServiceModel.Channels.Binding
Public Function ImportBinding (wsdlBinding As Binding) As Binding
Parameters
Returns
A Binding object that represents binding information from a set of metadata documents.
Exceptions
The WsdlImporter has encountered an error.
The wsdlBinding
parameter is null
.
Remarks
Use the ImportBinding method to use a System.Web.Services.Description.Binding object to locate binding information in the metadata and return that binding information as a System.ServiceModel.Channels.Binding object. Check the Errors property to determine whether there are any import errors before using the returned object.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈