DataServiceBaseDeleteResourceT Method

Deletes a resource.

Definition

Namespace: Common.Core.Classes
Assembly: Common.Core (in Common.Core.dll) Version: 2.1.5
C#
public T DeleteResource<T>(
	string uri,
	JsonSerializerOptions? options = null
)
where T : class

Parameters

uri  String
Uniform Resource Identifier.
options  JsonSerializerOptions  (Optional)
Json serializer options.

Type Parameters

T
Generic class or interface.

Return Value

T
The deleted resource, or if there were errors while processing the JSON.

Exceptions

AggregateExceptionRepresents one or more errors that occur during execution.

See Also