MethodInvocation Delete TResponse  Method (IRelations, , String,  String )DocuWare Platform .NET API
Sends a HTTP DELETE message to the specified HTTP client.

Namespace: DocuWare.Services.Http.Client
Assembly: DocuWare.RestClient (in DocuWare.RestClient.dll) Version: 6.5.0.0 (6.5.0.5648)
Syntax

public static Task<DeserializedHttpResponse<TResponse>> Delete<TResponse>(
	this IRelations relations,
	HttpClient httpClient,
	string relationName,
	params string[] acceptType
)
where TResponse : class

Parameters

relations
Type: DocuWare.Services.Http.Client IRelations
The relations.
httpClient
Type: HttpClient
The HTTP client.
relationName
Type: OnlineSystem String
Name of the relation.
acceptType
Type:  OnlineSystem String 
Type of the accept.
Type Parameters

TResponse
The type of the response.

Return Value

Type: OnlineTask DeserializedHttpResponse TResponse  

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IRelations. When you use instance method syntax to call this method, omit the first parameter. For more information, see OnlineExtension Methods (Visual Basic) or OnlineExtension Methods (C# Programming Guide).
See Also