VssJsonMediaTypeFormatter Class

Inheritance Hierarchy

System.Object
  System.Net.Http.Formatting.MediaTypeFormatter
    System.Net.Http.Formatting.JsonMediaTypeFormatter
      Microsoft.VisualStudio.Services.WebApi.VssJsonMediaTypeFormatter

Namespace:  Microsoft.VisualStudio.Services.WebApi
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
Public Class VssJsonMediaTypeFormatter _
    Inherits JsonMediaTypeFormatter
public class VssJsonMediaTypeFormatter : JsonMediaTypeFormatter
public ref class VssJsonMediaTypeFormatter : public JsonMediaTypeFormatter
type VssJsonMediaTypeFormatter =  
    class 
        inherit JsonMediaTypeFormatter 
    end
public class VssJsonMediaTypeFormatter extends JsonMediaTypeFormatter

The VssJsonMediaTypeFormatter type exposes the following members.

Constructors

  Name Description
Public method VssJsonMediaTypeFormatter

Top

Properties

  Name Description
Public property AllowReferenceDataContracts (Inherited from JsonMediaTypeFormatter.)
Public property CharacterEncoding (Inherited from JsonMediaTypeFormatter.)
Protected property Encoding (Inherited from MediaTypeFormatter.)
Public property MediaTypeMappings (Inherited from MediaTypeFormatter.)
Public property SupportedMediaTypes (Inherited from MediaTypeFormatter.)

Top

Methods

  Name Description
Protected method CanReadType (Inherited from JsonMediaTypeFormatter.)
Protected method CanWriteType (Inherited from JsonMediaTypeFormatter.)
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method OnGetResponseHeaders (Inherited from MediaTypeFormatter.)
Protected method OnReadFromStreamAsync (Inherited from JsonMediaTypeFormatter.)
Protected method OnWriteToStreamAsync (Inherited from JsonMediaTypeFormatter.)
Public method ReadFromStreamAsync (Inherited from MediaTypeFormatter.)
Public method RemoveSerializer (Inherited from JsonMediaTypeFormatter.)
Public method SetSerializer(Type, DataContractJsonSerializer) (Inherited from JsonMediaTypeFormatter.)
Public method SetSerializer``1(DataContractJsonSerializer) (Inherited from JsonMediaTypeFormatter.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)
Public method WriteToStreamAsync(Type, Object, Stream, HttpContent, TransportContext)
Public method WriteToStreamAsync(Type, Object, Stream, HttpContentHeaders, FormatterContext, TransportContext) (Inherited from MediaTypeFormatter.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Services.WebApi Namespace