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