FileResourceResult Constructor

Glimpse API

FileResourceResult Constructor Glimpse API Documentation
Initializes a new instance of the FileResourceResult class.

Namespace: Glimpse.Core.ResourceResult
Assembly: Glimpse.Core (in Glimpse.Core.dll) Version: 1.0.1.0 (1.0.1)

Syntax

public FileResourceResult(
	byte[] content,
	string contentType
)
public FileResourceResult(
	byte[] content,
	string contentType
)

Parameters

content
Type:  OnlineSystem Byte 
The content.
contentType
Type: OnlineSystem String
Type of the content.
Exceptions

ExceptionCondition
OnlineSystem ArgumentNullExceptionException thrown if either content or contentType are null.
See Also