編輯

共用方式為


ChannelProtectionRequirements Constructors

Definition

Initializes a new instance of the ChannelProtectionRequirements class.

Overloads

ChannelProtectionRequirements()

Initializes a new instance of the ChannelProtectionRequirements class.

ChannelProtectionRequirements(ChannelProtectionRequirements)

Initializes a new instance of the ChannelProtectionRequirements class from another instance of this class.

ChannelProtectionRequirements()

Source:
ChannelProtectionRequirements.cs
Source:
ChannelProtectionRequirements.cs

Initializes a new instance of the ChannelProtectionRequirements class.

public:
 ChannelProtectionRequirements();
public ChannelProtectionRequirements ();
Public Sub New ()

Remarks

This parameterless constructor sets the following properties to a new instance of ScopedMessagePartSpecification, which is a class that specifies which parts are included in a message:

Applies to

ChannelProtectionRequirements(ChannelProtectionRequirements)

Source:
ChannelProtectionRequirements.cs
Source:
ChannelProtectionRequirements.cs

Initializes a new instance of the ChannelProtectionRequirements class from another instance of this class.

public:
 ChannelProtectionRequirements(System::ServiceModel::Security::ChannelProtectionRequirements ^ other);
public ChannelProtectionRequirements (System.ServiceModel.Security.ChannelProtectionRequirements other);
new System.ServiceModel.Security.ChannelProtectionRequirements : System.ServiceModel.Security.ChannelProtectionRequirements -> System.ServiceModel.Security.ChannelProtectionRequirements
Public Sub New (other As ChannelProtectionRequirements)

Parameters

Exceptions

other is null.

Remarks

This constructor sets the following properties to a new instance of ScopedMessagePartSpecification, using the ScopedMessagePartSpecification constructor, with other as the input parameter. ScopedMessagePartSpecification is a class that specifies which parts are included in a message:

Applies to