Uređivanje

Dijeli putem


ChannelProtectionRequirements.Add Method

Definition

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)

Source:
ChannelProtectionRequirements.cs

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)

Source:
ChannelProtectionRequirements.cs

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