Creates the response with specified content type from array of bytes.
Namespace: Scanjour.Workflow4.Web.Services.Helpers
Assembly: Scanjour.Workflow4.Web.Services (in Scanjour.Workflow4.Web.Services.dll) Version: 19.1.6.0 (19.1.6.0)
Syntax
Parameters
- contentType
- Type: SystemString
Type of the content. - content
- Type: SystemByte
The content.
Return Value
Type: StreamResponse stream to be returned by web service method.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | content |
See Also