BuildTask.LogErrorFromException Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
This API supports the Office and SharePoint infrastructure and is not intended to be used directly from your code.
Namespace: Microsoft.VisualStudio.SharePoint.Tasks
Assembly: Microsoft.VisualStudio.SharePoint.Tasks (in Microsoft.VisualStudio.SharePoint.Tasks.dll)
Syntax
'Declaration
Protected Sub LogErrorFromException ( _
item As ITaskItem, _
exception As Exception _
)
protected void LogErrorFromException(
ITaskItem item,
Exception exception
)
Parameters
item
Type: Microsoft.Build.Framework.ITaskItemDo not use.
exception
Type: System.ExceptionDo not use.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.