JsonWebServiceContent class

JSON web service content.

public class JsonWebServiceContent : HttpContent

Public Members

name description
static FromJson(…) Creates a new instance of the JsonWebServiceContent class from JSON.
Json { get; } Gets the JSON.
static readonly JsonContentType The content type for JSON, i.e. “application/json”.
static FromValue<TValue>(…) Creates a new instance of the JsonWebServiceContent class from a value to be serialized. (2 methods)

Protected Members

name description
JsonWebServiceContent() Initializes a new instance of the JsonWebServiceContent class.
JsonWebServiceContent(…) Initializes a new instance of the JsonWebServiceContent class.
override CreateContentReadStreamAsync()  
virtual GenerateJson() Generates the JSON.
override SerializeToStreamAsync(…)  
override TryComputeLength(…)  

See Also