TeamFoundationEventLog.Log Method (TeamFoundationRequestContext, String, Int32)
Log a message that has a default event.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Sub Log ( _
requestContext As TeamFoundationRequestContext, _
message As String, _
eventId As Integer _
)
public void Log(
TeamFoundationRequestContext requestContext,
string message,
int eventId
)
public:
void Log(
TeamFoundationRequestContext^ requestContext,
String^ message,
int eventId
)
member Log :
requestContext:TeamFoundationRequestContext *
message:string *
eventId:int -> unit
public function Log(
requestContext : TeamFoundationRequestContext,
message : String,
eventId : int
)
Parameters
- requestContext
Type: Microsoft.TeamFoundation.Framework.Server.TeamFoundationRequestContext
message
Type: System.StringThe message to log.
eventId
Type: System.Int32The event ID for the log entry.
.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.