共用方式為


SPULSTraceListener class

SharePoint ULS 記錄檔中加入WCF追蹤自訂追蹤接聽項。

Inheritance hierarchy

System.Object
  System.MarshalByRefObject
    System.Diagnostics.TraceListener
      Microsoft.SharePoint.SPULSTraceListener

Namespace:  Microsoft.SharePoint
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'宣告
Public NotInheritable Class SPULSTraceListener _
    Inherits TraceListener
'用途
Dim instance As SPULSTraceListener
public sealed class SPULSTraceListener : TraceListener

Thread safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

請參閱

參照

SPULSTraceListener members

Microsoft.SharePoint namespace