HttpListenerResponseContentType Property |
Gets or sets the media type of the entity body included in the response.
Namespace:
Sfs2X.WebSocketSharp.Net
Assembly:
SmartFox2X (in SmartFox2X.dll) Version: 1.8.0.0 (1.8.0)
Syntax public string ContentType { get; set; }
Property Value
Type:
String
A
String that represents the media type of the entity body,
or
if no media type is specified. This value is
used for the value of the Content-Type entity-header.
Exceptions Exception | Condition |
---|
ArgumentException |
The value specified for a set operation is empty.
|
ObjectDisposedException |
This object is closed.
|
See Also