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
EndInvoke(IAsyncResult)
public virtual IParserErrorResult EndInvoke(IAsyncResult result)
Parameter | Type | Description |
---|---|---|
result | IAsyncResult |
Returns
Invoke(IParserState)
public virtual IParserErrorResult Invoke(IParserState state)
Parameter | Type | Description |
---|---|---|
state | IParserState |