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)

'Declaration
<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 _
	Inherits 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(Of TChannel)Creates a channel factory that can be used to create a channel. (Overrides BindingElement.BuildChannelFactory(Of TChannel)(BindingContext).)
Public methodBuildChannelListener(Of TChannel)Initializes a channel listener to accept channels of a specified type from the binding context. (Inherited from BindingElement.)
Public methodCanBuildChannelFactory(Of 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(Of 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(Of T)Returns a typed object requested, if present, from the appropriate layer in the binding stack. (Overrides BindingElement.GetProperty(Of 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.2
Obsolete (compiler warning) in 4.5.1
Obsolete (compiler warning) in 4.5

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone 8, Silverlight 8.1

Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

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