共用方式為


WebErrorEvent.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

WebRequestInformation 物件,含有關於目前要求的資訊。

範例

下列程式碼範例示範如何取得 RequestInformation 值。

// Obtains the current request information.
public string GetRequestInfo()
{
    string reqInfo = GetRequestInfo();
    return reqInfo;
}
' Obtains the current request information.
Public Function GetRequestInfo() As String
   Dim reqInfo As String = GetRequestInfo()
   Return reqInfo
End Function 'GetRequestInfo

適用於