Partager via


DiagnosticStreamChain.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

'Déclaration
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.

.NET Framework Security

See Also

Reference

DiagnosticStreamChain Class

Microsoft.VisualStudio.IntelliTrace Namespace