Click or drag to resize

WebOperationResponseFactoryCreate(String, String, Encoding) Method

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: 24.5.0.0 (24.5.0.0)
Syntax
public static Stream Create(
	string contentType,
	string content,
	Encoding encoding
)

Parameters

contentType  String
Type of the content.
content  String
The content.
encoding  Encoding
The encoding.

Return Value

Stream
Response stream to be returned by web service method.
Exceptions
ExceptionCondition
ArgumentNullExceptionencoding
See Also