Class AsyncError
Marker that will be passed to your callback in the event that an async error occurs, provides access to the error and any state that you passed in originally.
Inheritance
System.Object
AsyncError
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF
Assembly: dotNetRdf.dll
Syntax
public class AsyncError
Constructors
| Improve this Doc View SourceAsyncError(Exception, object)
Creates new async error.
Declaration
public AsyncError(Exception ex, object state)
Parameters
Type | Name | Description |
---|---|---|
System.Exception | ex | Exception. |
System.Object | state | State. |
Properties
| Improve this Doc View SourceError
Gets the error that occurred.
Declaration
public Exception Error { get; }
Property Value
Type | Description |
---|---|
System.Exception |
State
Gets the original state that was passed in to the async call.
Declaration
public object State { get; }
Property Value
Type | Description |
---|---|
System.Object |