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
- itemKey 
 Type: System.String- Log item key. 
- itemValue 
 Type: System.String- Log item value. 
.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.