ErrorInformation.

ErrorCodeById(string, ITaskItem[]) Method

Summary

Returns the error code for the given ID.

Syntax

public static string ErrorCodeById(string errorId, ITaskItem[] errorInformation)

Parameters

Name Type Description
errorId string The error ID.
errorInformation ITaskItem[] The collection containing the error information.

Return Value

Type Description
string The error code that matches the given ID.