HttpCookieContainerBindingElement 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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
克隆的绑定元素。
- 属性