ServiceRequest Constructor (Uri, SupportedMimeType, ListAnnotationSelector) A Sandcastle Documented Class Library
Construct a request for the online service to annotate a document it downloads directly from a remote URL.

Namespace: Ontotext.S4.service
Assembly: S4ClientLibrary (in S4ClientLibrary.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public ServiceRequest(
	Uri documentUrl,
	SupportedMimeType type,
	List<AnnotationSelector> annotationSelectors
)

Parameters

documentUrl
Type: SystemUri
the URL from which the document should be downloaded. This must be accessible to the service so it must not require authentication credentials etc. (but it may be, for example, a pre-signed Amazon S3 URL).
type
Type: Ontotext.S4.serviceSupportedMimeType
the MIME type that the service should use to parse the document.
annotationSelectors
Type: System.Collections.GenericListAnnotationSelector
annotations to return. Leave as
null
to use the default selectors recommended by the pipeline provider.
See Also

Reference