แก้ไข

แชร์ผ่าน


HttpCookieContainerBindingElement Class

Definition

Caution

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

Enables management of how HTTP cookies are handled in HTTP requests and responses.

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
Inheritance
HttpCookieContainerBindingElement
Attributes

Constructors

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.

Methods

BuildChannelFactory<TChannel>(BindingContext)

Creates a channel factory that can be used to create a channel.

BuildChannelListener<TChannel>(BindingContext)

Initializes a channel listener to accept channels of a specified type from the binding context.

(Inherited from BindingElement)
CanBuildChannelFactory<TChannel>(BindingContext)

Returns a value that indicates whether the binding element can build a channel factory for a specific type of channel.

(Inherited from BindingElement)
CanBuildChannelListener<TChannel>(BindingContext)

Returns a value that indicates whether the binding element can build a listener for a specific type of channel.

(Inherited from BindingElement)
Clone()

Returns a copy of the current binding element object.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetProperty<T>(BindingContext)

Returns a typed object requested, if present, from the appropriate layer in the binding stack.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to