HttpCookieContainerBindingElement Constructors

Definition

Initializes a new instance of the HttpCookieContainerBindingElement class.

Overloads

HttpCookieContainerBindingElement()
Obsolete.

Initializes a new instance of the HttpCookieContainerBindingElement class.

HttpCookieContainerBindingElement(HttpCookieContainerBindingElement)
Obsolete.

Initializes a new instance of the HttpCookieContainerBindingElement class from a specified binding element.

HttpCookieContainerBindingElement()

Caution

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

Initializes a new instance of the HttpCookieContainerBindingElement class.

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 ()
Attributes

Applies to

HttpCookieContainerBindingElement(HttpCookieContainerBindingElement)

Caution

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

Initializes a new instance of the HttpCookieContainerBindingElement class from a specified binding element.

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)

Parameters

elementToBeCloned
HttpCookieContainerBindingElement

The binding element to be cloned.

Attributes

Applies to