Class AsyncStorageCallbackArgs
Represents arguments passed to callbacks on success/failure of a async storage API call.
Inheritance
Inherited Members
Namespace: VDS.RDF.Storage
Assembly: dotNetRdf.dll
Syntax
public sealed class AsyncStorageCallbackArgs
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
Constructors
| Improve this Doc View SourceAsyncStorageCallbackArgs(AsyncStorageOperation, IEnumerable<string>, Exception)
Creates new callback arguments.
Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, IEnumerable<string> stores, Exception e)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncStorageOperation | operation | Operation. |
| System.Collections.Generic.IEnumerable<T><string> | stores | Enumeration of Store IDs. |
| System.Exception | e | Error that occurred. |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
AsyncStorageCallbackArgs(AsyncStorageOperation, IEnumerable<string>)
Creates new callback arguments.
Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, IEnumerable<string> stores)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncStorageOperation | operation | Operation. |
| System.Collections.Generic.IEnumerable<T><string> | stores | Enumeration of Store IDs. |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
AsyncStorageCallbackArgs(AsyncStorageOperation, IEnumerable<Uri>)
Creates new callback arguments.
Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, IEnumerable<Uri> graphUris)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncStorageOperation | operation | Operation. |
| System.Collections.Generic.IEnumerable<T><System.Uri> | graphUris | Enumeration of Graph URIs. |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
AsyncStorageCallbackArgs(AsyncStorageOperation, Exception)
Creates new callback arguments.
Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, Exception ex)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncStorageOperation | operation | Operation. |
| System.Exception | ex | Error that occurred. |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
AsyncStorageCallbackArgs(AsyncStorageOperation, string, IEnumerable<IStoreTemplate>)
Creates new callback arguments.
Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, string storeID, IEnumerable<IStoreTemplate> templates)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncStorageOperation | operation | Operation. |
| string | storeID | Store ID. |
| System.Collections.Generic.IEnumerable<T><IStoreTemplate> | templates | Templates. |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
AsyncStorageCallbackArgs(AsyncStorageOperation, string, Exception)
Creates new callback arguments.
Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, string data, Exception e)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncStorageOperation | operation | Operation. |
| string | data | Data to return. |
| System.Exception | e | Error that occurred. |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
AsyncStorageCallbackArgs(AsyncStorageOperation, string, object, Exception)
Creates new callback arguments.
Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, string query, object queryResults, Exception e)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncStorageOperation | operation | Operation. |
| string | query | SPARQL Query. |
| System.Object | queryResults | Results to return. |
| System.Exception | e | Error that occurred. |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
AsyncStorageCallbackArgs(AsyncStorageOperation, string, object)
Creates new callback arguments.
Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, string query, object queryResults)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncStorageOperation | operation | Operation. |
| string | query | SPARQL Query. |
| System.Object | queryResults | Results to return. |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
AsyncStorageCallbackArgs(AsyncStorageOperation, string, IRdfHandler, ISparqlResultsHandler, Exception)
Creates new callback arguments.
Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, string query, IRdfHandler rdfHandler, ISparqlResultsHandler resultsHandler, Exception e)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncStorageOperation | operation | Operation. |
| string | query | SPARQL Query. |
| IRdfHandler | rdfHandler | RDF Handler. |
| ISparqlResultsHandler | resultsHandler | Results Handler. |
| System.Exception | e | Error that occurred. |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
AsyncStorageCallbackArgs(AsyncStorageOperation, string, IRdfHandler, ISparqlResultsHandler)
Creates new callback arguments.
Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, string query, IRdfHandler rdfHandler, ISparqlResultsHandler resultsHandler)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncStorageOperation | operation | Operation. |
| string | query | SPARQL Query. |
| IRdfHandler | rdfHandler | RDF Handler to return. |
| ISparqlResultsHandler | resultsHandler | Results Handler to return. |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
AsyncStorageCallbackArgs(AsyncStorageOperation, string, IAsyncStorageProvider, Exception)
Creates new callback arguments.
Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, string storeID, IAsyncStorageProvider provider, Exception e)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncStorageOperation | operation | Operation. |
| string | storeID | Store ID. |
| IAsyncStorageProvider | provider | Storage Provider. |
| System.Exception | e | Error that occurred. |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
AsyncStorageCallbackArgs(AsyncStorageOperation, string, IStoreTemplate)
Creates new callback arguments.
Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, string storeID, IStoreTemplate template)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncStorageOperation | operation | Operation. |
| string | storeID | Store ID. |
| IStoreTemplate | template | Template. |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
AsyncStorageCallbackArgs(AsyncStorageOperation, string)
Creates new callback arguments.
Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, string data)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncStorageOperation | operation | Operation. |
| string | data | Data to return. |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
AsyncStorageCallbackArgs(AsyncStorageOperation, Uri, Exception)
Creates new callback arguments.
Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, Uri graphUri, Exception e)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncStorageOperation | operation | Operation. |
| System.Uri | graphUri | URI of the affected Graph. |
| System.Exception | e | Error that occurred. |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
AsyncStorageCallbackArgs(AsyncStorageOperation, Uri)
Creates new callback arguments.
Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, Uri graphUri)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncStorageOperation | operation | Operation. |
| System.Uri | graphUri | URI of the affected Graph. |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
AsyncStorageCallbackArgs(AsyncStorageOperation, IGraph, Exception)
Creates new callback arguments.
Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, IGraph g, Exception e)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncStorageOperation | operation | Operation. |
| IGraph | g | Graph to return. |
| System.Exception | e | Error that occurred. |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
AsyncStorageCallbackArgs(AsyncStorageOperation, IGraph)
Creates new callback arguments.
Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, IGraph g)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncStorageOperation | operation | Operation. |
| IGraph | g | Graph to return. |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
AsyncStorageCallbackArgs(AsyncStorageOperation, IRdfHandler, Exception)
Creates new callback arguments.
Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, IRdfHandler handler, Exception e)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncStorageOperation | operation | Operation. |
| IRdfHandler | handler | Handler to return. |
| System.Exception | e | Error that occurred. |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
AsyncStorageCallbackArgs(AsyncStorageOperation, IRdfHandler)
Creates new callback arguments.
Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation, IRdfHandler handler)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncStorageOperation | operation | Operation. |
| IRdfHandler | handler | Handler to return. |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
AsyncStorageCallbackArgs(AsyncStorageOperation)
Creates new callback arguments.
Declaration
public AsyncStorageCallbackArgs(AsyncStorageOperation operation)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncStorageOperation | operation | Operation. |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
Properties
| Improve this Doc View SourceAvailableTemplates
Gets the templates that were created (if any).
Declaration
public IEnumerable<IStoreTemplate> AvailableTemplates { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<T><IStoreTemplate> |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
Error
Gets the error that occurred (for failed operations).
Declaration
public Exception Error { get; }
Property Value
| Type | Description |
|---|---|
| System.Exception |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
Graph
Gets the Graph that was saved/loaded (if applicable).
Declaration
public IGraph Graph { get; }
Property Value
| Type | Description |
|---|---|
| IGraph |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
GraphUri
Gets the URI of the Graph affected by the operation.
Declaration
public Uri GraphUri { get; }
Property Value
| Type | Description |
|---|---|
| System.Uri |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
GraphUris
Gets the list of Graph URIs (if applicable).
Declaration
public IEnumerable<Uri> GraphUris { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<T><System.Uri> |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
Operation
Gets the operation that was performed.
Declaration
public AsyncStorageOperation Operation { get; }
Property Value
| Type | Description |
|---|---|
| AsyncStorageOperation |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
Query
Gets the SPARQL Query (if applicable).
Declaration
public string Query { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
QueryResults
Gets the Query Results (if applicable).
Declaration
public object QueryResults { get; }
Property Value
| Type | Description |
|---|---|
| System.Object |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
RdfHandler
Gets the RDF Handler used (if applicable).
Declaration
public IRdfHandler RdfHandler { get; }
Property Value
| Type | Description |
|---|---|
| IRdfHandler |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
ResultsHandler
Gets the Results Handler used (if applicable).
Declaration
public ISparqlResultsHandler ResultsHandler { get; }
Property Value
| Type | Description |
|---|---|
| ISparqlResultsHandler |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
StorageProvider
Gets the Storage Provider (if applicable).
Declaration
public IAsyncStorageProvider StorageProvider { get; }
Property Value
| Type | Description |
|---|---|
| IAsyncStorageProvider |
Remarks
For the GetStore operation this will be the reference to the newly returned store instance.
StoreID
Gets the Store ID (if applicable).
Declaration
public string StoreID { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
StoreIDs
Gets the list of Store IDs (if applicable).
Declaration
public IEnumerable<string> StoreIDs { get; }
Property Value
| Type | Description |
|---|---|
| System.Collections.Generic.IEnumerable<T><string> |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
Template
Gets the template that was created (if any).
Declaration
public IStoreTemplate Template { get; }
Property Value
| Type | Description |
|---|---|
| IStoreTemplate |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
Updates
Gets the SPARQL Update (if applicable).
Declaration
public string Updates { get; }
Property Value
| Type | Description |
|---|---|
| string |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.
WasSuccessful
Gets whether the async operation succeeded (no error occurred).
Declaration
public bool WasSuccessful { get; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Remarks
Primarily used to provide simple method signatures on the async storage API callbacks.