共用方式為


WebAuditEvent.RequestInformation 屬性

定義

取得與網路請求相關的資訊。

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 資訊協助找出故障原因。

適用於

另請參閱