ChannelProtectionRequirements.Add 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.
Adds the various parts collections in the specified ChannelProtectionRequirements to the current instance of this class. If there are protection requirements for a particular message in both the ChannelProtectionRequirements instances, then the requirements are merged together to ensure that the resulting protection requirement is the maximum of the individual protection requirements.
Overloads
Add(ChannelProtectionRequirements) |
Adds the parts collections in the specified ChannelProtectionRequirements to the current instance of this class. |
Add(ChannelProtectionRequirements, Boolean) |
Adds the various parts collections in the specified ChannelProtectionRequirements to the current instance of this class. |
Add(ChannelProtectionRequirements)
Adds the parts collections in the specified ChannelProtectionRequirements to the current instance of this class.
public:
void Add(System::ServiceModel::Security::ChannelProtectionRequirements ^ protectionRequirements);
public void Add (System.ServiceModel.Security.ChannelProtectionRequirements protectionRequirements);
member this.Add : System.ServiceModel.Security.ChannelProtectionRequirements -> unit
Public Sub Add (protectionRequirements As ChannelProtectionRequirements)
Parameters
- protectionRequirements
- ChannelProtectionRequirements
The specified ChannelProtectionRequirements.
Applies to
Add(ChannelProtectionRequirements, Boolean)
Adds the various parts collections in the specified ChannelProtectionRequirements to the current instance of this class.
public:
void Add(System::ServiceModel::Security::ChannelProtectionRequirements ^ protectionRequirements, bool channelScopeOnly);
public void Add (System.ServiceModel.Security.ChannelProtectionRequirements protectionRequirements, bool channelScopeOnly);
member this.Add : System.ServiceModel.Security.ChannelProtectionRequirements * bool -> unit
Public Sub Add (protectionRequirements As ChannelProtectionRequirements, channelScopeOnly As Boolean)
Parameters
- protectionRequirements
- ChannelProtectionRequirements
The specified ChannelProtectionRequirements.
- channelScopeOnly
- Boolean
Specifies whether the scope is channel-only.
Applies to
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈