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

Определение

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

Перегрузки

ContextBindingElement()

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

ContextBindingElement(ProtectionLevel)

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

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism)

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

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri)

Инициализирует новый экземпляр класса ContextBindingElement с указанным уровнем защиты, механизмом обмена контекстом и адресом обратного вызова клиента.

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean)

Инициализирует новый экземпляр класса ContextBindingElement с указанным уровнем защиты, механизмом обмена контекстом, адресом обратного вызова клиента и значением, которое указывает, включен ли контекст управления.

ContextBindingElement()

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

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

Комментарии

Задает значения по умолчанию Sign для ProtectionLevel и ContextSoapHeader для ContextExchangeMechanism.

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

ContextBindingElement(ProtectionLevel)

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

public:
 ContextBindingElement(System::Net::Security::ProtectionLevel protectionLevel);
public ContextBindingElement (System.Net.Security.ProtectionLevel protectionLevel);
new System.ServiceModel.Channels.ContextBindingElement : System.Net.Security.ProtectionLevel -> System.ServiceModel.Channels.ContextBindingElement
Public Sub New (protectionLevel As ProtectionLevel)

Параметры

protectionLevel
ProtectionLevel

Контекст ProtectionLevel для элемента привязки.

Исключения

Недопустимое значение protectionLevel.

Комментарии

Задает значение по умолчанию ContextSoapHeader для ContextExchangeMechanism.

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

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism)

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

public:
 ContextBindingElement(System::Net::Security::ProtectionLevel protectionLevel, System::ServiceModel::Channels::ContextExchangeMechanism contextExchangeMechanism);
public ContextBindingElement (System.Net.Security.ProtectionLevel protectionLevel, System.ServiceModel.Channels.ContextExchangeMechanism contextExchangeMechanism);
new System.ServiceModel.Channels.ContextBindingElement : System.Net.Security.ProtectionLevel * System.ServiceModel.Channels.ContextExchangeMechanism -> System.ServiceModel.Channels.ContextBindingElement
Public Sub New (protectionLevel As ProtectionLevel, contextExchangeMechanism As ContextExchangeMechanism)

Параметры

protectionLevel
ProtectionLevel

Контекст ProtectionLevel для элемента привязки.

contextExchangeMechanism
ContextExchangeMechanism

Объект ContextExchangeMechanism, определяющий механизм, используемый для обмена контекстом для элемента привязки.

Исключения

Недопустимое значение параметра protectionLevel или contextExchangeMechanism.

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

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri)

Инициализирует новый экземпляр класса ContextBindingElement с указанным уровнем защиты, механизмом обмена контекстом и адресом обратного вызова клиента.

public:
 ContextBindingElement(System::Net::Security::ProtectionLevel protectionLevel, System::ServiceModel::Channels::ContextExchangeMechanism contextExchangeMechanism, Uri ^ clientCallbackAddress);
public ContextBindingElement (System.Net.Security.ProtectionLevel protectionLevel, System.ServiceModel.Channels.ContextExchangeMechanism contextExchangeMechanism, Uri clientCallbackAddress);
new System.ServiceModel.Channels.ContextBindingElement : System.Net.Security.ProtectionLevel * System.ServiceModel.Channels.ContextExchangeMechanism * Uri -> System.ServiceModel.Channels.ContextBindingElement
Public Sub New (protectionLevel As ProtectionLevel, contextExchangeMechanism As ContextExchangeMechanism, clientCallbackAddress As Uri)

Параметры

protectionLevel
ProtectionLevel

Уровень защиты для элемента привязки.

contextExchangeMechanism
ContextExchangeMechanism

Механизм, используемый для обмена контекстом для элемента привязки.

clientCallbackAddress
Uri

Адрес обратного вызова клиента.

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

ContextBindingElement(ProtectionLevel, ContextExchangeMechanism, Uri, Boolean)

Инициализирует новый экземпляр класса ContextBindingElement с указанным уровнем защиты, механизмом обмена контекстом, адресом обратного вызова клиента и значением, которое указывает, включен ли контекст управления.

public:
 ContextBindingElement(System::Net::Security::ProtectionLevel protectionLevel, System::ServiceModel::Channels::ContextExchangeMechanism contextExchangeMechanism, Uri ^ clientCallbackAddress, bool contextManagementEnabled);
public ContextBindingElement (System.Net.Security.ProtectionLevel protectionLevel, System.ServiceModel.Channels.ContextExchangeMechanism contextExchangeMechanism, Uri clientCallbackAddress, bool contextManagementEnabled);
new System.ServiceModel.Channels.ContextBindingElement : System.Net.Security.ProtectionLevel * System.ServiceModel.Channels.ContextExchangeMechanism * Uri * bool -> System.ServiceModel.Channels.ContextBindingElement
Public Sub New (protectionLevel As ProtectionLevel, contextExchangeMechanism As ContextExchangeMechanism, clientCallbackAddress As Uri, contextManagementEnabled As Boolean)

Параметры

protectionLevel
ProtectionLevel

Уровень защиты для элемента привязки.

contextExchangeMechanism
ContextExchangeMechanism

Механизм, используемый для обмена контекстом для элемента привязки.

clientCallbackAddress
Uri

Адрес обратного вызова клиента.

contextManagementEnabled
Boolean

Значение true, если управление контекстом включено; в противном случае — значение false.

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