HttpResponseWrapper.AppendCookie(HttpCookie) Metod

Definition

Lägger till en HTTP-cookie i insamlingen av HTTP-svarscookie.

public:
 override void AppendCookie(System::Web::HttpCookie ^ cookie);
public override void AppendCookie(System.Web.HttpCookie cookie);
override this.AppendCookie : System.Web.HttpCookie -> unit
Public Overrides Sub AppendCookie (cookie As HttpCookie)

Parametrar

cookie
HttpCookie

Cookien som ska läggas till i svaret.

Undantag

Cookien lades till efter att HTTP-huvudena skickades.

Gäller för