共用方式為


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: String

    The message for the test log entry.

.NET Framework Security

See Also

Reference

ITestMessageLogOwner Interface

Microsoft.TeamFoundation.TestManagement.Client Namespace

TestMessageLogEntryLevel