Summary
Returns the error code for the given ID.
- Namespace
- NBuildKit
.MsBuild .Tasks .Core - Containing Type
- ErrorInformation
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. |