Share via


TeamFoundationEventLog.LogException Method (TeamFoundationRequestContext, String, Exception, Int32)

See overload.

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub LogException ( _
    requestContext As TeamFoundationRequestContext, _
    message As String, _
    exception As Exception, _
    eventId As Integer _
)
public void LogException(
    TeamFoundationRequestContext requestContext,
    string message,
    Exception exception,
    int eventId
)
public:
void LogException(
    TeamFoundationRequestContext^ requestContext, 
    String^ message, 
    Exception^ exception, 
    int eventId
)
member LogException : 
        requestContext:TeamFoundationRequestContext * 
        message:string * 
        exception:Exception * 
        eventId:int -> unit
public function LogException(
    requestContext : TeamFoundationRequestContext, 
    message : String, 
    exception : Exception, 
    eventId : int
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationEventLog Class

LogException Overload

Microsoft.TeamFoundation.Framework.Server Namespace