Initializes a new instance of the HttpResource class with the specified content and status code.
Namespace: CMS.DataComAssembly: CMS.DataCom (in CMS.DataCom.dll) Version: 10.0.0
Syntaxpublic HttpResource(
string content,
HttpStatusCode statusCode
)
Parameters
- content
- Type: SystemString
The resource content. - statusCode
- Type: System.NetHttpStatusCode
The status code returned by the server.
See Also