Share via


SqlTaskBase.LogException Method

Supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Namespace: Microsoft.VisualStudio.TeamSystem.Data.Tasks
Assembly: Microsoft.VisualStudio.TeamSystem.Data.Tasks (in microsoft.visualstudio.teamsystem.data.tasks.dll)

Syntax

'Declaration
Protected Sub LogException ( _
    senderName As String, _
    category As String, _
    errorCode As String, _
    exception As Exception _
)
'Usage
Dim senderName As String
Dim category As String
Dim errorCode As String
Dim exception As Exception

Me.LogException(senderName, category, errorCode, exception)
protected void LogException (
    string senderName,
    string category,
    string errorCode,
    Exception exception
)
protected:
void LogException (
    String^ senderName, 
    String^ category, 
    String^ errorCode, 
    Exception^ exception
)
protected void LogException (
    String senderName, 
    String category, 
    String errorCode, 
    Exception exception
)
protected function LogException (
    senderName : String, 
    category : String, 
    errorCode : String, 
    exception : Exception
)

Parameters

  • senderName
  • category
  • errorCode
  • exception

See Also

Reference

SqlTaskBase Class
SqlTaskBase Members
Microsoft.VisualStudio.TeamSystem.Data.Tasks Namespace