Partager via


TraceFilter Class

This class describes a trace filter, that is a set of criteria on whether a trace event should be emitted

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Framework.Server.TraceDefinition
    Microsoft.TeamFoundation.Framework.Server.TraceFilter

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Class TraceFilter _
    Inherits TraceDefinition _
    Implements IEquatable(Of TraceFilter)
public class TraceFilter : TraceDefinition, 
    IEquatable<TraceFilter>
public ref class TraceFilter : public TraceDefinition, 
    IEquatable<TraceFilter^>
type TraceFilter =  
    class 
        inherit TraceDefinition 
        interface IEquatable<TraceFilter>
    end
public class TraceFilter extends TraceDefinition implements IEquatable<TraceFilter>

The TraceFilter type exposes the following members.

Constructors

  Name Description
Public method TraceFilter

Top

Properties

  Name Description
Public property Area (Inherited from TraceDefinition.)
Public property DelayToInject
Public property ExceptionToInject
Public property InjectionFrequency
Public property IsEnabled
Public property Layer (Inherited from TraceDefinition.)
Public property Level (Inherited from TraceDefinition.)
Public property Method (Inherited from TraceDefinition.)
Public property Owner
Public property Path (Inherited from TraceDefinition.)
Public property ProcessName (Inherited from TraceDefinition.)
Public property Service (Inherited from TraceDefinition.)
Public property ServiceHost (Inherited from TraceDefinition.)
Public property Tags (Inherited from TraceDefinition.)
Public property TimeCreated (Inherited from TraceDefinition.)
Public property TraceId (Inherited from TraceDefinition.)
Public property Tracepoint (Inherited from TraceDefinition.)
Public property Uri (Inherited from TraceDefinition.)
Public property UserAgent (Inherited from TraceDefinition.)
Public property UserLogin (Inherited from TraceDefinition.)

Top

Methods

  Name Description
Protected method AnyMatch Member if and only if: reference is null or comparand matches reference (Inherited from TraceDefinition.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method Equals(TraceFilter)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method IsMatch(TraceEvent%) Returns true if the given trace set matches the current filter
Public method IsMatch(String, String) Match if and only if: reference is null or comparand matches reference (Inherited from TraceDefinition.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

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.

See Also

Reference

Microsoft.TeamFoundation.Framework.Server Namespace