System.Diagnostics.TracerSourceExtensions.TraceError C# (CSharp) Method

TraceError() public static method

Traces an event of type TraceEventType.Error with the given format string and arguments.
public static TraceError ( this source, string format ) : void
source this
format string
return void
		public static void TraceError(this ITraceSource source, string format, params object[] args)
		{
			Guard.NotNull(() => source, source);

			source.Trace(new MessageTraceEvent(TraceEventType.Error, 0, format, args));
		}

Same methods

TracerSourceExtensions::TraceError ( this source, Exception exception ) : void
TracerSourceExtensions::TraceError ( this source, Exception exception, string format ) : void