Class SparqlRemoteUpdateEndpoint
A Class for connecting to a remote SPARQL Update endpoint and executing Updates against it.
Implements
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: VDS.RDF.Update
Assembly: dotNetRdf.dll
Syntax
[Obsolete("This class is obsolete and will be removed in a future release. Replaced by VDS.RDF.Update.SparqlUpdateClient.")]
public class SparqlRemoteUpdateEndpoint : BaseEndpoint, IConfigurationSerializable
Constructors
| Improve this Doc View SourceSparqlRemoteUpdateEndpoint(string)
Creates a new SPARQL Update Endpoint for the given URI.
Declaration
public SparqlRemoteUpdateEndpoint(string endpointUri)
Parameters
Type | Name | Description |
---|---|---|
string | endpointUri | Endpoint URI. |
SparqlRemoteUpdateEndpoint(Uri)
Creates a new SPARQL Update Endpoint for the given URI.
Declaration
public SparqlRemoteUpdateEndpoint(Uri endpointUri)
Parameters
Type | Name | Description |
---|---|---|
System.Uri | endpointUri | Endpoint URI. |
Properties
| Improve this Doc View SourceHttpMode
Gets/Sets the HTTP Method used for requests.
Declaration
public override string HttpMode { get; set; }
Property Value
Type | Description |
---|---|
string |
Overrides
Remarks
The SPARQL 1.1 Protocol specification mandates that Update requests may only be POSTed, attempting to alter the HTTP Mode to anything other than POST will result in a SparqlUpdateException.
Methods
| Improve this Doc View SourceSerializeConfiguration(ConfigurationSerializationContext)
Serializes configuration for the endpoint.
Declaration
public override void SerializeConfiguration(ConfigurationSerializationContext context)
Parameters
Type | Name | Description |
---|---|---|
ConfigurationSerializationContext | context | Serialization Context. |
Overrides
| Improve this Doc View SourceUpdate(string, UpdateCallback, object)
Makes an update request asynchronously to the remote endpoint.
Declaration
public void Update(string sparqlUpdate, UpdateCallback callback, object state)
Parameters
Type | Name | Description |
---|---|---|
string | sparqlUpdate | SPARQL Update. |
UpdateCallback | callback | Callback to invoke when the update completes. |
System.Object | state | State to pass to the callback. |
Update(string)
Makes an update request to the remote endpoint.
Declaration
public void Update(string sparqlUpdate)
Parameters
Type | Name | Description |
---|---|---|
string | sparqlUpdate | SPARQL Update. |