Share via


TeamFoundationRequestContext.LogItem Method

Logs a key/value pair to the request context Items bag.

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

Syntax

'Declaration
Public Overridable Sub LogItem ( _
    itemKey As String, _
    itemValue As String _
)
public virtual void LogItem(
    string itemKey,
    string itemValue
)
public:
virtual void LogItem(
    String^ itemKey, 
    String^ itemValue
)
abstract LogItem : 
        itemKey:string * 
        itemValue:string -> unit  
override LogItem : 
        itemKey:string * 
        itemValue:string -> unit
public function LogItem(
    itemKey : String, 
    itemValue : String
)

Parameters

.NET Framework Security

See Also

Reference

TeamFoundationRequestContext Class

Microsoft.TeamFoundation.Framework.Server Namespace