Export (0) Print
Expand All

HttpCookieContainerBindingElement Class

.NET Framework 4.5

Note: This API is now obsolete.

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

System.Object
  System.ServiceModel.Channels.BindingElement
    System.ServiceModel.Channels.HttpCookieContainerBindingElement

Namespace:  System.ServiceModel.Channels
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

[ObsoleteAttribute("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 : BindingElement

The HttpCookieContainerBindingElement type exposes the following members.

  NameDescription
Public methodHttpCookieContainerBindingElement() Obsolete. Initializes a new instance of the HttpCookieContainerBindingElement class.
Protected methodHttpCookieContainerBindingElement(HttpCookieContainerBindingElement) Obsolete. Initializes a new instance of the HttpCookieContainerBindingElement class from a specified binding element.
Top

  NameDescription
Public methodBuildChannelFactory<TChannel>Creates a channel factory that can be used to create a channel. (Overrides BindingElement.BuildChannelFactory<TChannel>(BindingContext).)
Public methodBuildChannelListener<TChannel>Initializes a channel listener to accept channels of a specified type from the binding context. (Inherited from BindingElement.)
Public methodCanBuildChannelFactory<TChannel>Returns a value that indicates whether the binding element can build a channel factory for a specific type of channel. (Inherited from BindingElement.)
Public methodCanBuildChannelListener<TChannel>Returns a value that indicates whether the binding element can build a listener for a specific type of channel. (Inherited from BindingElement.)
Public methodCloneReturns a copy of the current binding element object. (Overrides BindingElement.Clone().)
Public methodEquals(Object)Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetProperty<T>Returns a typed object requested, if present, from the appropriate layer in the binding stack. (Overrides BindingElement.GetProperty<T>(BindingContext).)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

.NET Framework

Obsolete (compiler warning) in 4.5.3

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8

Windows Phone 8.1, Windows Phone 8

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Show:
© 2014 Microsoft