共用方式為


HttpWorkerRequest.GetRequestReason 方法

定義

在衍生類別中覆寫時,傳回要求的原因。

public:
 virtual int GetRequestReason();
public virtual int GetRequestReason ();
abstract member GetRequestReason : unit -> int
override this.GetRequestReason : unit -> int
Public Overridable Function GetRequestReason () As Integer

傳回

Int32

原因碼。 預設為 ReasonResponseCacheMiss

適用於