C# Class Elmah.SqlErrorLog.Commands

Mostra file Open project: elmah/Elmah

Public Methods

Method Description
GetErrorXml ( string appName, System.Guid id ) : SqlCommand
GetErrorsXml ( string appName, int pageIndex, int pageSize ) : SqlCommand
GetErrorsXmlOutputs ( SqlCommand command, int &totalCount ) : void
LogError ( System.Guid id, string appName, string hostName, string typeName, string source, string message, string user, int statusCode, System.DateTime time, string xml ) : SqlCommand

Method Details

GetErrorXml() public static method

public static GetErrorXml ( string appName, System.Guid id ) : SqlCommand
appName string
id System.Guid
return System.Data.SqlClient.SqlCommand

GetErrorsXml() public static method

public static GetErrorsXml ( string appName, int pageIndex, int pageSize ) : SqlCommand
appName string
pageIndex int
pageSize int
return System.Data.SqlClient.SqlCommand

GetErrorsXmlOutputs() public static method

public static GetErrorsXmlOutputs ( SqlCommand command, int &totalCount ) : void
command System.Data.SqlClient.SqlCommand
totalCount int
return void

LogError() public static method

public static LogError ( System.Guid id, string appName, string hostName, string typeName, string source, string message, string user, int statusCode, System.DateTime time, string xml ) : SqlCommand
id System.Guid
appName string
hostName string
typeName string
source string
message string
user string
statusCode int
time System.DateTime
xml string
return System.Data.SqlClient.SqlCommand