LogStreamEventChain.IsValidToken Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Determines if the given token is valid for this chain.
Namespace: Microsoft.VisualStudio.TraceLog
Assembly: Microsoft.VisualStudio.TraceLog (in Microsoft.VisualStudio.TraceLog.dll)
Syntax
'Declaration
Public Overrides Function IsValidToken ( _
token As EventToken _
) As Boolean
'Usage
Dim instance As LogStreamEventChain
Dim token As EventToken
Dim returnValue As Boolean
returnValue = instance.IsValidToken(token)
public override bool IsValidToken(
EventToken token
)
public:
virtual bool IsValidToken(
EventToken token
) override
abstract IsValidToken :
token:EventToken -> bool
override IsValidToken :
token:EventToken -> bool
public override function IsValidToken(
token : EventToken
) : boolean
Parameters
- token
Type: Microsoft.VisualStudio.TraceLog.EventToken
The token to check.
Return Value
Type: System.Boolean
true if the token is valid 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.