Click or drag to resize
DocumentPostToRightsRelationForSectionAsync Method (CancellationToken, String, Stream)
Calls the HTTP Post method on the link for the relation “rights” asynchronously.

Namespace: DocuWare.Platform.ServerClient
Assembly: DocuWare.Platform.ServerClient (in DocuWare.Platform.ServerClient.dll) Version: Version 6.9
Syntax
C#
public Task<DeserializedHttpResponse<Section>> PostToRightsRelationForSectionAsync(
	CancellationToken cancellationToken,
	string requestedContentType,
	Stream dataToSend
)

Parameters

cancellationToken
Type: System.ThreadingCancellationToken
The cancellation token to cancel the request.
requestedContentType
Type: SystemString
Mime type of the requested body content, i.e. application/pdf.
dataToSend
Type: System.IOStream
The data to send. This data is written into the request body.

Return Value

Type: TaskDeserializedHttpResponseSection
A task which runs the request.
Remarks
This method follows the link for the relation “rights”.
See Also