Share via


ParserVisitor.CancelToken Property

This type/member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets the cancellation token.

Namespace:  System.Web.Razor.Parser
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

Syntax

'Declaration
Public Property CancelToken As Nullable(Of CancellationToken)
    Get 
    Set
'Usage
Dim instance As ParserVisitor 
Dim value As Nullable(Of CancellationToken)

value = instance.CancelToken

instance.CancelToken = value
public Nullable<CancellationToken> CancelToken { get; set; }
public:
property Nullable<CancellationToken> CancelToken {
    Nullable<CancellationToken> get ();
    void set (Nullable<CancellationToken> value);
}
member CancelToken : Nullable<CancellationToken> with get, set
function get CancelToken () : Nullable<CancellationToken>
function set CancelToken (value : Nullable<CancellationToken>)

Property Value

Type: System.Nullable<CancellationToken>
The cancellation token.

See Also

Reference

ParserVisitor Class

System.Web.Razor.Parser Namespace