DeployLX Software Protection System

SecureLicenseContext..::..ReportError Method (String, Object, Exception, ErrorSeverity, array<Object>[]()[][])

Used to report an error during validation or other processing.

Syntax

Public Function ReportError ( _
	errorIdOrMessage As String, _
	referenceObject As Object, _
	exception As Exception, _
	severity As ErrorSeverity, _
	ParamArray args As Object() _
) As ValidationResult
public ValidationResult ReportError(
	string errorIdOrMessage,
	Object referenceObject,
	Exception exception,
	ErrorSeverity severity,
	params Object[] args
)

Parameters

errorIdOrMessage
The error id or message. If an ID, the message is looked up in the assembly resources and formatted with String.Format.
referenceObject
An object useful for reference when resolving the error.
exception
The exception that occurred if any.
severity
The severity of the validation error.
args
Arguments to use when formatting the error message.

Return Value

Always returns Invalid.

Assembly:  DeployLX.Licensing.v5 (in DeployLX.Licensing.v5.dll)

See Also