WebOperationResponseFactoryCreate(String, Byte) Method |
Creates the response with specified content type from array of bytes.
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,
byte[] content
)
Public Shared Function Create (
contentType As String,
content As Byte()
) As Stream
public:
static Stream^ Create(
String^ contentType,
array<unsigned char>^ content
)
static member Create :
contentType : string *
content : byte[] -> Stream
Parameters
- contentType String
- Type of the content.
- content Byte
- The content.
Return Value
StreamResponse stream to be returned by web service method.
Exceptions
See Also