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.