HttpCookieContainerBindingElement 构造函数

定义

初始化 HttpCookieContainerBindingElement 类的新实例。

重载

HttpCookieContainerBindingElement()
已过时.

初始化 HttpCookieContainerBindingElement 类的新实例。

HttpCookieContainerBindingElement(HttpCookieContainerBindingElement)
已过时.

从指定的绑定元素初始化 HttpCookieContainerBindingElement 类的新实例。

HttpCookieContainerBindingElement()

注意

This type is obsolete. To enable the Http CookieContainer, use the AllowCookies property on the http binding or on the HttpTransportBindingElement.

初始化 HttpCookieContainerBindingElement 类的新实例。

public:
 HttpCookieContainerBindingElement();
[System.Obsolete("This type is obsolete. To enable the Http CookieContainer, use the AllowCookies property on the http binding or on the HttpTransportBindingElement.", false)]
public HttpCookieContainerBindingElement ();
Public Sub New ()
属性

适用于

HttpCookieContainerBindingElement(HttpCookieContainerBindingElement)

注意

This type is obsolete. To enable the Http CookieContainer, use the AllowCookies property on the http binding or on the HttpTransportBindingElement.

从指定的绑定元素初始化 HttpCookieContainerBindingElement 类的新实例。

protected:
 HttpCookieContainerBindingElement(System::ServiceModel::Channels::HttpCookieContainerBindingElement ^ elementToBeCloned);
[System.Obsolete("This type is obsolete. To enable the Http CookieContainer, use the AllowCookies property on the http binding or on the HttpTransportBindingElement.", false)]
protected HttpCookieContainerBindingElement (System.ServiceModel.Channels.HttpCookieContainerBindingElement elementToBeCloned);
[<System.Obsolete("This type is obsolete. To enable the Http CookieContainer, use the AllowCookies property on the http binding or on the HttpTransportBindingElement.", false)>]
new System.ServiceModel.Channels.HttpCookieContainerBindingElement : System.ServiceModel.Channels.HttpCookieContainerBindingElement -> System.ServiceModel.Channels.HttpCookieContainerBindingElement
Protected Sub New (elementToBeCloned As HttpCookieContainerBindingElement)

参数

elementToBeCloned
HttpCookieContainerBindingElement

克隆的绑定元素。

属性

适用于