This documentation is archived and is not being maintained.

VssJsonMediaTypeFormatter Class

Visual Studio 2013

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)

public ref class VssJsonMediaTypeFormatter : public JsonMediaTypeFormatter

The VssJsonMediaTypeFormatter type exposes the following members.

  NameDescription
Public propertyAllowReferenceDataContracts (Inherited from JsonMediaTypeFormatter.)
Public propertyCharacterEncoding (Inherited from JsonMediaTypeFormatter.)
Protected propertyEncoding (Inherited from MediaTypeFormatter.)
Public propertyMediaTypeMappings (Inherited from MediaTypeFormatter.)
Public propertySupportedMediaTypes (Inherited from MediaTypeFormatter.)
Top

  NameDescription
Protected methodCanReadType (Inherited from JsonMediaTypeFormatter.)
Protected methodCanWriteType (Inherited from JsonMediaTypeFormatter.)
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnGetResponseHeaders (Inherited from MediaTypeFormatter.)
Protected methodOnReadFromStreamAsync (Inherited from JsonMediaTypeFormatter.)
Protected methodOnWriteToStreamAsync (Inherited from JsonMediaTypeFormatter.)
Public methodReadFromStreamAsync (Inherited from MediaTypeFormatter.)
Public methodRemoveSerializer (Inherited from JsonMediaTypeFormatter.)
Public methodSetSerializer(Type, DataContractJsonSerializer) (Inherited from JsonMediaTypeFormatter.)
Public methodSetSerializer``1(DataContractJsonSerializer) (Inherited from JsonMediaTypeFormatter.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Public methodWriteToStreamAsync(Type, Object, Stream, HttpContent, TransportContext)
Public methodWriteToStreamAsync(Type, Object, Stream, HttpContentHeaders, FormatterContext, TransportContext) (Inherited from MediaTypeFormatter.)
Top

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