WSFederationHttpBinding.CreateBindingElements 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.
Creates a collection with the binding elements for the binding.
public:
override System::ServiceModel::Channels::BindingElementCollection ^ CreateBindingElements();
public override System.ServiceModel.Channels.BindingElementCollection CreateBindingElements ();
override this.CreateBindingElements : unit -> System.ServiceModel.Channels.BindingElementCollection
Public Overrides Function CreateBindingElements () As BindingElementCollection
Returns
The ICollection<T> of type BindingElement that makes up the binding.
Remarks
The stack of binding elements depends on the value of the WSFederationHttpSecurityMode set.
The stack of binding elements in WSFederationHttpBinding is the same as that contained in WSHttpBinding when Security is set to the default value of Message.
However, setting WSFederationHttpSecurityMode to TransportWithMessageCredential results in a stack that is something of a hybrid between the WSHttpBinding and BasicHttpBinding bindings.
Finally, using the MTOM encoder looks exactly the same as for WSHttpBinding.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈