WebOperationResponseFactoryCreate(String, String, Encoding) Method |
Creates the response with specified content type from string using specified encoding.
Namespace: Scanjour.Workflow4.Web.Services.HelpersAssembly: Scanjour.Workflow4.Web.Services (in Scanjour.Workflow4.Web.Services.dll) Version: 24.5.0.0 (24.5.0.0)
Syntaxpublic static Stream Create(
string contentType,
string content,
Encoding encoding
)
Public Shared Function Create (
contentType As String,
content As String,
encoding As Encoding
) As Stream
public:
static Stream^ Create(
String^ contentType,
String^ content,
Encoding^ encoding
)
static member Create :
contentType : string *
content : string *
encoding : Encoding -> Stream
Parameters
- contentType String
- Type of the content.
- content String
- The content.
- encoding Encoding
- The encoding.
Return Value
StreamResponse stream to be returned by web service method.
Exceptions
See Also