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
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.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 |