Response 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public ref class Response sealed
public sealed class Response
type Response = class
Public NotInheritable Class Response
- 繼承
-
Response
屬性
| AuthenticationChallenges |
如果狀態碼為 401,將會新增至回應的驗證挑戰。 這必須是伺服器上啟用的 AuthenticationSchemes 子集。 |
| Body | |
| CacheTtl |
使用指定的逾時啟用回應的核心快取。 Http.Sys 判斷是否可以快取回應。 |
| ContentLength | |
| ContentType | |
| HasStarted |
指出回應狀態、原因和標頭是否已準備好傳送,而且無法再修改。 這是由第一次寫入或排清回應本文所造成。 |
| HasStartedSending | |
| Headers | |
| ReasonPhrase | |
| ShouldBuffer | |
| StatusCode | |
方法
| OnCompleted(Func<Object,Task>, Object) | |
| OnStarting(Func<Object,Task>, Object) | |
| Reset() | |
| SendFileAsync(String, Int64, Nullable<Int64>, CancellationToken) |