Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Writes a message to the trace, provided that traceLevel passed as first argument is is not lower than the logger TraceLevel. In debug build, this method can also ensure that output does not contain passwords.
Namespace: Microsoft.TeamFoundation.Common
Assembly: Microsoft.TeamFoundation.Common (in Microsoft.TeamFoundation.Common.dll)
Syntax
'Declaration
Public Overridable Sub WriteLine ( _
traceLevel As TraceLevel, _
message As String _
)
public virtual void WriteLine(
TraceLevel traceLevel,
string message
)
public:
virtual void WriteLine(
TraceLevel traceLevel,
String^ message
)
abstract WriteLine :
traceLevel:TraceLevel *
message:string -> unit
override WriteLine :
traceLevel:TraceLevel *
message:string -> unit
public function WriteLine(
traceLevel : TraceLevel,
message : String
)
Parameters
- traceLevel
Type: System.Diagnostics.TraceLevel
- message
Type: System.String
.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.