EAPUtilWriteToRequestLog Method (IAppContext, IDatabase, String, String, String, String, Double, String, String, String) |
Writes an entry to the xot_request_log. The database to which the entry is written is controlled by either an
application property "PageActivityDatasource", or is written to the database object passed in the argument list (if not null)
or the data database of the application object if the database argument is null.
Namespace:
NetQuarry
Assembly:
EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax public static void WriteToRequestLog(
IAppContext app,
IDatabase db,
string request,
string action,
string mop,
string pk,
double dblMS,
string errorMessage,
string errorName,
string postInfo
)
Public Shared Sub WriteToRequestLog (
app As IAppContext,
db As IDatabase,
request As String,
action As String,
mop As String,
pk As String,
dblMS As Double,
errorMessage As String,
errorName As String,
postInfo As String
)
Parameters
- app
- Type: NetQuarryIAppContext
Application object - db
- Type: NetQuarryIDatabase
Optional database object. Database object read from application if necessary - request
- Type: SystemString
What the log entry represents - action
- Type: SystemString
The action for the log entry - mop
- Type: SystemString
The mop for the log entry - pk
- Type: SystemString
The pk for the log entry - dblMS
- Type: SystemDouble
A numeric value representing a duration asociated wih the entry, in milliseconds. - errorMessage
- Type: SystemString
The error message associated with the entry - errorName
- Type: SystemString
The name of the exception from which errorMessage was extracted. - postInfo
- Type: SystemString
Optional interesting postback data from the posted back FORM.
See Also