StandardBindingElement.ApplyConfiguration(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.
Applies the content of the specified binding to this binding configuration element.
public:
virtual void ApplyConfiguration(System::ServiceModel::Channels::Binding ^ binding);
public void ApplyConfiguration (System.ServiceModel.Channels.Binding binding);
abstract member ApplyConfiguration : System.ServiceModel.Channels.Binding -> unit
override this.ApplyConfiguration : System.ServiceModel.Channels.Binding -> unit
Public Sub ApplyConfiguration (binding As Binding)
Parameters
- binding
- Binding
A binding.
Implements
Exceptions
binding
is null
.
The type of this binding element is different from the type specified by binding
.
Remarks
The Name
of the standard binding specified in binding
is ignored during this operation. This is because the Name
attribute of a binding is used in conjunction with the Namespace
attribute of the same binding to generate the correct WSDL for a binding. However, the Name property of this type is mainly used as a key to identify this binding element in the binding collection. Therefore, the Name property is not modified during this operation.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om