WebOperationResponseFactoryCreate Method (String, Byte, String)

Scanjour Workflow4 Reference Manual
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: 23.1.0.0 (23.1.0.0)
Syntax

public static Stream Create(
	string contentType,
	byte[] content,
	string eTag
)

Parameters

contentType
Type: SystemString
Type of the content.
content
Type: SystemByte
The content.
eTag
Type: SystemString
etag header info for cache control

Return Value

Type: Stream
Response stream to be returned by web service method.
Exceptions

ExceptionCondition
ArgumentNullExceptioncontent
See Also

Reference