CodeParser.TryRecover Method (Boolean, SpanFactory)

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

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

Syntax

'Declaration
Protected Overridable Function TryRecover ( _
    allowTransition As Boolean, _
    previousSpanFactory As SpanFactory _
) As Boolean
'Usage
Dim allowTransition As Boolean
Dim previousSpanFactory As SpanFactory
Dim returnValue As Boolean

returnValue = Me.TryRecover(allowTransition, _
    previousSpanFactory)
protected virtual bool TryRecover(
    bool allowTransition,
    SpanFactory previousSpanFactory
)
protected:
virtual bool TryRecover(
    bool allowTransition, 
    SpanFactory^ previousSpanFactory
)
protected function TryRecover(
    allowTransition : boolean, 
    previousSpanFactory : SpanFactory
) : boolean

Parameters

Return Value

Type: System.Boolean

Permissions

  • Medium trust for the immediate caller. This member can be used by partially trusted code.

See Also

Reference

CodeParser Class

TryRecover Overload

System.Web.Razor.Parser Namespace