共用方式為


IHttpCookieContainerManager Interface

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Defines the interface used to provide access to an optional instance of CookieContainer that can be used to manage a collection of cookies.

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

Syntax

'Declaration
Public Interface IHttpCookieContainerManager
public interface IHttpCookieContainerManager

The IHttpCookieContainerManager type exposes the following members.

Properties

  Name Description
Public propertySupported by Silverlight for Windows Phone CookieContainer Gets or sets the CookieContainer object to be used, if one is to be used.

Top

Remarks

This interface exposes a CookieContainer property used to get or set a value that indicates whether a CookieContainer is (or is not) used. It is returned by the GetProperty<T>() method from channels that have been constructed from bindings that include the HttpCookieContainerBindingElement.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

XNA Framework

Supported in: Windows Phone OS 7.0

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.