Compartilhar via


ListChain.IsValidEventType Method

Determines whether the given IntelliTraceEvent is valid for this chain.

Namespace:  Microsoft.VisualStudio.IntelliTrace
Assembly:  Microsoft.VisualStudio.IntelliTrace (in Microsoft.VisualStudio.IntelliTrace.dll)

Syntax

'Declaração
Public Overrides Function IsValidEventType ( _
    chainEvent As IntelliTraceEvent _
) As Boolean
public override bool IsValidEventType(
    IntelliTraceEvent chainEvent
)
public:
virtual bool IsValidEventType(
    IntelliTraceEvent^ chainEvent
) override
abstract IsValidEventType : 
        chainEvent:IntelliTraceEvent -> bool 
override IsValidEventType : 
        chainEvent:IntelliTraceEvent -> bool 
public override function IsValidEventType(
    chainEvent : IntelliTraceEvent
) : boolean

Parameters

Return Value

Type: System.Boolean
True if the event is a valid IntelliTraceEvent for this chain; otherwise, false.

Remarks

The event type must be one that is enabled in this chain.

.NET Framework Security

See Also

Reference

ListChain Class

Microsoft.VisualStudio.IntelliTrace Namespace