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
'Declaration
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
- chainEvent
Type: Microsoft.VisualStudio.IntelliTrace.IntelliTraceEvent
The event to check.
Return Value
Type: System.Boolean
True if the event is a valid IntelliTraceEvent for this chain; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.