HttpCookieContainerBindingElement 類別

定義

警告

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

可讓您管理 HTTP Cookie 在 HTTP 要求和回應中處理的方式。

public ref class HttpCookieContainerBindingElement : System::ServiceModel::Channels::BindingElement
[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 class HttpCookieContainerBindingElement : System.ServiceModel.Channels.BindingElement
[<System.Obsolete("This type is obsolete. To enable the Http CookieContainer, use the AllowCookies property on the http binding or on the HttpTransportBindingElement.", false)>]
type HttpCookieContainerBindingElement = class
    inherit BindingElement
Public Class HttpCookieContainerBindingElement
Inherits BindingElement
繼承
HttpCookieContainerBindingElement
屬性

建構函式

HttpCookieContainerBindingElement()
已淘汰.

初始化 HttpCookieContainerBindingElement 類別的新執行個體。

HttpCookieContainerBindingElement(HttpCookieContainerBindingElement)
已淘汰.

從指定的繫結項目初始化 HttpCookieContainerBindingElement 類別的新執行個體。

方法

BuildChannelFactory<TChannel>(BindingContext)
已淘汰.

建立可用來建立通道的通道處理站。

BuildChannelListener<TChannel>(BindingContext)
已淘汰.

初始化通道接聽項,以便從繫結內容接受指定之類型的通道。

(繼承來源 BindingElement)
CanBuildChannelFactory<TChannel>(BindingContext)
已淘汰.

傳回值,指出繫結項目是否可以建置 (Build) 特定通道類型的通道處理站。

(繼承來源 BindingElement)
CanBuildChannelListener<TChannel>(BindingContext)
已淘汰.

傳回值,指出繫結項目是否可以建置特定通道型別的通道接聽程式。

(繼承來源 BindingElement)
Clone()
已淘汰.

傳回目前繫結項目物件的複本。

Equals(Object)
已淘汰.

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()
已淘汰.

做為預設雜湊函式。

(繼承來源 Object)
GetProperty<T>(BindingContext)
已淘汰.

從繫結堆疊的適當層次中,傳回要求的型別物件 (如果有)。

GetType()
已淘汰.

取得目前執行個體的 Type

(繼承來源 Object)
MemberwiseClone()
已淘汰.

建立目前 Object 的淺層複製。

(繼承來源 Object)
ToString()
已淘汰.

傳回代表目前物件的字串。

(繼承來源 Object)

適用於