ChannelProtectionRequirements Конструкторы

Определение

Инициализирует новый экземпляр класса ChannelProtectionRequirements.

Перегрузки

ChannelProtectionRequirements()

Инициализирует новый экземпляр класса ChannelProtectionRequirements.

ChannelProtectionRequirements(ChannelProtectionRequirements)

Инициализирует новый экземпляр класса ChannelProtectionRequirements на основе другого экземпляра этого же класса.

ChannelProtectionRequirements()

Исходный код:
ChannelProtectionRequirements.cs
Исходный код:
ChannelProtectionRequirements.cs
Исходный код:
ChannelProtectionRequirements.cs

Инициализирует новый экземпляр класса ChannelProtectionRequirements.

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

Комментарии

Этот конструктор без параметров задает следующие свойства для нового экземпляра ScopedMessagePartSpecification, который является классом, указывающим, какие части включаются в сообщение:

Применяется к

ChannelProtectionRequirements(ChannelProtectionRequirements)

Исходный код:
ChannelProtectionRequirements.cs
Исходный код:
ChannelProtectionRequirements.cs
Исходный код:
ChannelProtectionRequirements.cs

Инициализирует новый экземпляр класса ChannelProtectionRequirements на основе другого экземпляра этого же класса.

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)

Параметры

other
ChannelProtectionRequirements

Другой экземпляр класса ChannelProtectionRequirements.

Исключения

other имеет значение null.

Комментарии

Этот конструктор задает следующие свойства для нового экземпляра объекта ScopedMessagePartSpecification, используя конструктор ScopedMessagePartSpecification со значением other в качестве входного параметра. ScopedMessagePartSpecification — это класс, указывающий, какие части включены в сообщение:

Применяется к