IHttpSendFileFeature 接口   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
Use IHttpResponseBodyFeature instead.
提供一种有效的机制,用于将文件从磁盘传输到网络。
public interface class IHttpSendFileFeature
	public interface IHttpSendFileFeature
	[System.Obsolete("Use IHttpResponseBodyFeature instead.", true)]
public interface IHttpSendFileFeature
	type IHttpSendFileFeature = interface
	[<System.Obsolete("Use IHttpResponseBodyFeature instead.", true)>]
type IHttpSendFileFeature = interface
	Public Interface IHttpSendFileFeature
	- 派生
 
- 属性
 
方法
| SendFileAsync(String, Int64, Nullable<Int64>, CancellationToken) | 
			 
				已过时.
			 
		在响应正文中发送请求的文件。 这可能会绕过 IHttpResponseFeature.Body Stream。 一个响应可能包含多个写入。  |