Initializes a new instance of the TemplateError class

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

Syntax

C#
public TemplateError(
	string errorNumber,
	string description,
	string filePath,
	TextPositionRange positionRange,
	TemplateErrorLevel level,
	TemplateErrorType errorType
)
Visual Basic
Public Sub New ( 
	errorNumber As String,
	description As String,
	filePath As String,
	positionRange As TextPositionRange,
	level As TemplateErrorLevel,
	errorType As TemplateErrorType
)

Parameters

errorNumber
Type: System..::..String
description
Type: System..::..String
filePath
Type: System..::..String
positionRange
Type: TextPositionRange
level
Type: CodeSmith.Engine..::..TemplateErrorLevel
errorType
Type: CodeSmith.Engine..::..TemplateErrorType

See Also