Initializes a new instance of the ScriptError class

Namespace: CodeSmith.BaseTemplates
Assembly: CodeSmith.BaseTemplates (in CodeSmith.BaseTemplates.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public ScriptError(
	int infoNumber,
	byte errorState,
	byte errorClass,
	string errorMessage,
	string procedure,
	int lineNumber
)
Visual Basic
Public Sub New ( 
	infoNumber As Integer,
	errorState As Byte,
	errorClass As Byte,
	errorMessage As String,
	procedure As String,
	lineNumber As Integer
)

Parameters

infoNumber
Type: System..::..Int32
errorState
Type: System..::..Byte
errorClass
Type: System..::..Byte
errorMessage
Type: System..::..String
procedure
Type: System..::..String
lineNumber
Type: System..::..Int32

See Also