語言

OutgoingWebRequestContext 類別

定義

提供程式化存取外發出的網頁請求上下文。

public ref class OutgoingWebRequestContext
public class OutgoingWebRequestContext
type OutgoingWebRequestContext = class
Public Class OutgoingWebRequestContext
繼承
OutgoingWebRequestContext

屬性

名稱 Description
Accept

從發出的網頁請求中取得或設定 Accept 標頭值。

ContentLength

取得或設定發出的網頁請求的內容長度標頭值。

ContentType

從外發出的網頁請求中取得或設定內容型別標頭值。

Headers

取得外發出的網頁請求標頭。

IfMatch

從發出的網頁請求中取得或設定 IfMatch 標頭值。

IfModifiedSince

從發出的網頁請求中取得或設定 IfModifiedSince 標頭值。

IfNoneMatch

從發出的網頁請求中取得或設定 IfNoneMatch 標頭值。

IfUnmodifiedSince

從發出的網頁請求中取得或設定 IfUnmodifiedSince 標頭值。

Method

取得外發出的 Web 請求的 HTTP 方法。

SuppressEntityBody

會獲得一個值,表示 Windows Communication Foundation(WCF)是否省略了通常寫入回應實體體的資料,並強制回傳空回應。

UserAgent

從外部網路請求取得使用者代理標頭值。

方法

名稱 Description
Equals(Object)

判斷指定的物件是否等於目前的物件。

(繼承來源 Object)
GetHashCode()

做為預設哈希函式。

(繼承來源 Object)
GetType()

取得目前實例的 Type。

(繼承來源 Object)
MemberwiseClone()

建立目前 Object的淺層複本。

(繼承來源 Object)
ToString()

傳回表示目前 物件的字串。

(繼承來源 Object)

適用於