baseresponse响应类_HttpResponseBase

添加与响应关联的缓存依赖项,这些依赖项使响应可以在进行缓存和指定依赖项发生更改时失效。Adds an associates cache dependencies with the response that enable the response to be invalidated if it is cached and if the specified dependencies change.

使缓存的响应的有效性依赖于缓存中的指定项。Makes the validity of a cached response dependent on the specified items in the cache.

使缓存的项的有效性依赖于缓存中的指定项。Makes the validity of a cached item dependent on the specified items in the cache.

使缓存的响应的有效性依赖于缓存中的指定项。Makes the validity of a cached response dependent on the specified item in the cache.

将文件名添加到当前响应所依赖的文件名的集合。Adds file names to the collection of file names on which the current response is dependent.

将文件名数组添加到当前响应依赖的文件名集合中。Adds an array of file names to the collection of file names on which the current response is dependent.

将单个文件名添加到文件名集合中,当前响应依赖于该集合。Adds a single file name to the collection of file names on which the current response is dependent.

将 HTTP 标头添加到当前响应中。Adds an HTTP header to the current response. 提供此方法是为了与 ASP 的早期版本兼容。This method is provided for compatibility with earlier versions of ASP.

注册一个回调,在即将为此请求发送响应标头之前,ASP.NET 运行时将会调用此回调。Registers a callback that the ASP.NET runtime will invoke immediately before response headers are sent for this request.

将 HTTP cookie 添加到 HTTP 响应 cookie 集合。Adds an HTTP cookie to the HTTP response cookie coll

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值