Click or drag to resize

ILoggerError Method (IContext, Exception, IEnumerableString, NullableInt32, NullableInt32)

Note: This API is now obsolete.

Writes the log of the level = "error" (action that has not been executed and the error was returned)

Namespace:  AskiaPortalCmn
Assembly:  AskiaPortalCmn (in AskiaPortalCmn.dll) Version: 1.7.0-build068
Syntax
[ObsoleteAttribute("Use the .Error(IContext,Exception,int?) instead.")]
void Error(
	IContext context,
	Exception exception,
	IEnumerable<string> tags,
	Nullable<int> surveyId = null,
	Nullable<int> targetUserId = null
)

Parameters

context
Type: AskiaPortalCmnIContext
Context of execution
exception
Type: SystemException
Exception to log
tags
Type: System.Collections.GenericIEnumerableString
Tags related to this log
surveyId (Optional)
Type: SystemNullableInt32
Id of the survey
targetUserId (Optional)
Type: SystemNullableInt32
Id of the targeted user
Remarks
See Also