Share via


BuildTask.LogErrorFromException Method

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: ITaskItem

    Do not use.

  • exception
    Type: Exception

    Do not use.

.NET Framework Security

See Also

Reference

BuildTask Class

Microsoft.VisualStudio.SharePoint.Tasks Namespace