WebAuditEvent.RequestInformation 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得與網路請求相關的資訊。
public:
property System::Web::Management::WebRequestInformation ^ RequestInformation { System::Web::Management::WebRequestInformation ^ get(); };
public System.Web.Management.WebRequestInformation RequestInformation { get; }
member this.RequestInformation : System.Web.Management.WebRequestInformation
Public ReadOnly Property RequestInformation As WebRequestInformation
屬性值
WebRequestInformation A 包含與網路請求相關的資訊。
範例
以下程式碼範例說明如何透過 WebRequestInformation 該物業取得請求資訊。
// Obtains the current thread information.
public WebRequestInformation GetRequestInformation()
{
// Obtain the Web request information.
// No customization is allowed here.
return RequestInformation;
}
' Obtains the current thread information.
Public Function GetRequestInformation() As WebRequestInformation
' Obtain the Web request information.
' No customization is allowed here.
Return RequestInformation
End Function 'GetRequestInformation
備註
利用物業提供的 RequestInformation 資訊協助找出故障原因。