packages/Microsoft.AspNet.WebApi.Tracing.4.0.30506/lib/net40/System.Web.Http.Tracing.xml

(开头部分) 6KB

这里只显示每个文件的开头 60 行。登录后可以解锁完整代码。

<?xml version="1.0" encoding="utf-8"?>
<doc>
  <assembly>
    <name>System.Web.Http.Tracing</name>
  </assembly>
  <members>
    <member name="T:System.Web.Http.HttpConfigurationTracingExtensions">
      <summary> This static class contains helper methods related to the registration of <see cref="T:System.Web.Http.Tracing.ITraceWriter" /> instances. </summary>
    </member>
    <member name="M:System.Web.Http.HttpConfigurationTracingExtensions.EnableSystemDiagnosticsTracing(System.Web.Http.HttpConfiguration)">
      <summary> Creates and registers an <see cref="T:System.Web.Http.Tracing.ITraceWriter" /> implementation to use for this application. </summary>
      <returns>The <see cref="T:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter" /> which was created and registered.</returns>
      <param name="configuration">The <see cref="T:System.Web.Http.HttpConfiguration" /> for which to register the created trace writer.</param>
    </member>
    <member name="T:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter">
      <summary> Implementation of <see cref="T:System.Web.Http.Tracing.ITraceWriter" /> that traces to <see cref="T:System.Diagnostics.Trace" /></summary>
    </member>
    <member name="M:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.#ctor">
      <summary>Initializes a new instance of the <see cref="T:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter" /> class.</summary>
    </member>
    <member name="M:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.Format(System.Web.Http.Tracing.TraceRecord)">
      <summary> Formats the contents of the given <see cref="T:System.Web.Http.Tracing.TraceRecord" /> into a single string containing comma-separated name-value pairs for each <see cref="T:System.Web.Http.Tracing.TraceRecord" /> property. </summary>
      <returns>A string containing comma-separated name-value pairs.</returns>
      <param name="traceRecord">The <see cref="T:System.Web.Http.Tracing.TraceRecord" /> from which  to produce the result.</param>
    </member>
    <member name="M:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.FormatDateTime(System.DateTime)">
      <summary> Formats a <see cref="T:System.DateTime" /> for the trace. </summary>
      <returns>The <see cref="T:System.DateTime" /> formatted as a string</returns>
      <param name="dateTime">The <see cref="T:System.DateTime" /></param>
    </member>
    <member name="M:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.FormatRequestEnvelope(System.Web.Http.Tracing.TraceRecord)">
      <summary> Formats the given <see cref="T:System.Web.Http.Tracing.TraceRecord" /> into a string describing either the initial receipt of the incoming request or the final send of the response, depending on <see cref="T:System.Web.Http.Tracing.TraceKind" />. </summary>
      <returns>A string containing comma-separated name-value pairs.</returns>
      <param name="traceRecord">The <see cref="T:System.Web.Http.Tracing.TraceRecord" /> from which to  produce the result.</param>
    </member>
    <member name="P:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.IsVerbose">
      <summary> Gets or sets a value indicating whether the formatted message should be the verbose format, meaning it displays all fields of the <see cref="T:System.Web.Http.Tracing.TraceRecord" />. </summary>
      <returns>true<see cref="T:System.Web.Http.Tracing.TraceRecord" />falsefalse</returns>
    </member>
    <member name="P:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.MinimumLevel">
      <summary> Gets or sets the minimum trace level. </summary>
      <returns>
        <see cref="T:System.Web.Http.Tracing.TraceLevel" />
        <see cref="F:System.Web.Http.Tracing.TraceLevel.Info" />
      </returns>
    </member>
    <member name="M:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.Trace(System.Net.Http.HttpRequestMessage,System.String,System.Web.Http.Tracing.TraceLevel,System.Action{System.Web.Http.Tracing.TraceRecord})">
      <summary> Writes a trace to <see cref="T:System.Diagnostics.Trace" /> if the level is greater than or equal <see cref="P:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.MinimumLevel" />. </summary>
      <param name="request">The <see cref="T:System.Net.Http.HttpRequestMessage" /> associated with this trace.  It may be null but the resulting trace will contain no correlation ID.</param>
      <param name="category">The category for the trace. This can be any user-defined value. It is not interpreted by this implementation but is written to the trace.</param>
      <param name="level">The <see cref="T:System.Web.Http.Tracing.TraceLevel" /> of this trace. If it is less than <see cref="P:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.MinimumLevel" />, this trace request will be ignored.</param>
      <param name="traceAction">The user callback to invoke to fill in a <see cref="T:System.Web.Http.Tracing.TraceRecord" /> with additional information to add to the trace.</param>
    </member>
    <member name="P:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.TraceSource">
      <summary> Gets or sets the <see cref="P:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.TraceSource" /> to which the traces will be sent. </summary>
      <returns>
        <see cref="P:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.TraceSource" />
        <see cref="P:System.Web.Http.Tracing.SystemDiagnosticsTraceWriter.TraceSource" />
        <see cref="T:System.Diagnostics.Trace" />null<see cref="T:System.Diagnostics.Trace" /></returns>
    </member>
后面还有 6 行代码,解锁后查看完整代码

24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明

AI 解读 AI

登录后可用,每次 10 算力,解读结果公开显示在下面。

还没有人解读过这个文件。