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
要複製的繫結項目。
- 屬性