ITestMessageLogOwner.CreateLogEntry Method
Creates a test message log entry and adds it to the TestMessageLogEntryCollection.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Sub CreateLogEntry ( _
message As String, _
level As TestMessageLogEntryLevel _
)
void CreateLogEntry(
string message,
TestMessageLogEntryLevel level
)
void CreateLogEntry(
String^ message,
TestMessageLogEntryLevel level
)
abstract CreateLogEntry :
message:string *
level:TestMessageLogEntryLevel -> unit
function CreateLogEntry(
message : String,
level : TestMessageLogEntryLevel
)
Parameters
message
Type: StringThe message for the test log entry.
level
Type: Microsoft.TeamFoundation.TestManagement.Client.TestMessageLogEntryLevelA member of the TestMessageLogEntryLevel enumeration that indicates the log level for the test 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.
See Also
Reference
ITestMessageLogOwner Interface