Inherited from IContractBehavior Configures any binding elements to support the contract behavior.
命名空间: Microsoft.IdentityModel.Protocols.WSTrust
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)
用法
Dim instance As WSTrustServiceContract Dim contractDescription As ContractDescription Dim endpoint As ServiceEndpoint Dim bindingParameters As BindingParameterCollection instance.AddBindingParameters(contractDescription, endpoint, bindingParameters)
语法
声明
Public Sub AddBindingParameters ( _
contractDescription As ContractDescription, _
endpoint As ServiceEndpoint, _
bindingParameters As BindingParameterCollection _
)
public void AddBindingParameters (
ContractDescription contractDescription,
ServiceEndpoint endpoint,
BindingParameterCollection bindingParameters
)
public:
virtual void AddBindingParameters (
ContractDescription^ contractDescription,
ServiceEndpoint^ endpoint,
BindingParameterCollection^ bindingParameters
) sealed
public final void AddBindingParameters (
ContractDescription contractDescription,
ServiceEndpoint endpoint,
BindingParameterCollection bindingParameters
)
public final function AddBindingParameters (
contractDescription : ContractDescription,
endpoint : ServiceEndpoint,
bindingParameters : BindingParameterCollection
)
参数
- contractDescription
The contract description to modify.
- endpoint
The endpoint to modify.
- bindingParameters
The objects that binding elements require to support the behavior.
线程安全
此类型的任何公共静态(在 Visual Basic 中为 Shared)成员都是线程安全的。但不能保证任何实例成员是线程安全的。
平台
开发平台
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
请参见
参考
WSTrustServiceContract 类
WSTrustServiceContract 成员
Microsoft.IdentityModel.Protocols.WSTrust 命名空间