In This Article

ParserErrorCallback Delegate

Defines an error callback method that can be executed during a parsing operation.

public delegate IParserErrorResult ParserErrorCallback(IParserState state);

Parameters

Name Type Description
state IParserState

A IParserState that provides information about the parser's current state.

Returns

Type Description
IParserErrorResult

An IParserErrorResult value indicating a result.

Constructors

ParserErrorCallback(Object, IntPtr)

public ParserErrorCallback(object object, IntPtr method)
Parameter Type Description
object Object
method IntPtr

Methods

BeginInvoke(IParserState, AsyncCallback, Object)

public virtual IAsyncResult BeginInvoke(IParserState state, AsyncCallback callback, object object)
Parameter Type Description
state IParserState
callback AsyncCallback
object Object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual IParserErrorResult EndInvoke(IAsyncResult result)
Parameter Type Description
result IAsyncResult

Returns

IParserErrorResult

Invoke(IParserState)

public virtual IParserErrorResult Invoke(IParserState state)
Parameter Type Description
state IParserState

Returns

IParserErrorResult