System.Net.Http.Formatting
    
    
        
            
            Utility class for creating and unwrapping  instances.
            
        
        
            
            Formats the specified resource string using .
            
            A composite format string.
            An object array that contains zero or more objects to format.
            The formatted string.
        
        
            
            Creates an  with the provided properties.
            
            A composite format string explaining the reason for the exception.
            An object array that contains zero or more objects to format.
            The logged .
        
        
            
            Creates an  with the provided properties.
            
            The name of the parameter that caused the current exception.
            A composite format string explaining the reason for the exception.
            An object array that contains zero or more objects to format.
            The logged .
        
        
            
            Creates an  with a message saying that the argument must be an "http" or "https" URI.
            
            The name of the parameter that caused the current exception.
            The value of the argument that causes this exception.
            The logged .
        
        
            
            Creates an  with a message saying that the argument must be an absolute URI.
            
            The name of the parameter that caused the current exception.
            The value of the argument that causes this exception.
            The logged .
        
        
            
            Creates an  with a message saying that the argument must be an absolute URI 
            without a query or fragment identifier and then logs it with .
            
            The name of the parameter that caused the current exception.
            The value of the argument that causes this exception.
            The logged .
        
        
            
            Creates an  with the provided properties.
            
            The logged .
        
        
            
            Creates an  with the provided properties.
            
            The name of the parameter that caused the current exception.
            The logged .
        
        
            
            Creates an  with the provided properties.
            
            The name of the parameter that caused the current exception.
            A composite format string explaining the reason for the exception.
            An object array that contains zero or more objects to format.
            The logged .
        
        
            
            Creates an  with a default message.
            
            The name of the parameter that caused the current exception.
            The logged .
        
        
            
            Creates an  with the provided properties.
            
            The name of the parameter that caused the current exception.
            The value of the argument that causes this exception.
            A composite format string explaining the reason for the exception.
            An object array that contains zero or more objects to format.
            The logged .
        
        
            
            Creates an  with a message saying that the argument must be greater than or equal to .
            
            The name of the parameter that caused the current exception.
            The value of the argument that causes this exception.
            The minimum size of the argument.
            The logged .
        
        
            
            Creates an  with a message saying that the argument must be less than or equal to .
            
            The name of the parameter that caused the current exception.
            The value of the argument that causes this exception.
            The maximum size of the argument.
            The logged .
        
        
            
            Creates an  with a message saying that the key was not found.
            
            The logged .
        
        
            
            Creates an  with a message saying that the key was not found.
            
            A composite format string explaining the reason for the exception.
            An object array that contains zero or more objects to format.
            The logged .
        
        
            
            Creates an  initialized according to guidelines.
            
            A composite format string explaining the reason for the exception.
            An object array that contains zero or more objects to format.
            The logged .
        
        
            
            Creates an  initialized with the provided parameters.
            
            The logged .
        
        
            
            Creates an  initialized with the provided parameters.
            
            A composite format string explaining the reason for the exception.
            An object array that contains zero or more objects to format.
            The logged .
        
        
            
            Creates an  for an invalid enum argument.
            
            The name of the parameter that caused the current exception.
            The value of the argument that failed.
            A  that represents the enumeration class with the valid values.
            The logged .
        
        
            
            Creates an .
            
            A composite format string explaining the reason for the exception.
            An object array that contains zero or more objects to format.
            The logged .
        
        
            
            Creates an .
            
            Inner exception
            A composite format string explaining the reason for the exception.
            An object array that contains zero or more objects to format.
            The logged .
        
        
            
            Creates an .
            
            A composite format string explaining the reason for the exception.
            An object array that contains zero or more objects to format.
            The logged .
        
        
            
            Helpers for safely using Task libraries. 
            
        
        
            
            Returns a canceled Task. The task is completed, IsCanceled = True, IsFaulted = False.
            
        
        
            
            Returns a canceled Task of the given type. The task is completed, IsCanceled = True, IsFaulted = False.
            
        
        
            
            Returns a completed task that has no result. 
                    
        
        
            
            Returns an error task. The task is Completed, IsCanceled = False, IsFaulted = True
            
        
        
            
            Returns an error task of the given type. The task is Completed, IsCanceled = False, IsFaulted = True
            
            
        
        
            
            Used as the T in a "conversion" of a Task into a Task{T}
            
        
        
            
            This class is a convenient cache for per-type cancelled tasks
            
        
        
            
            Cast Task to Task of object
            
        
        
            
            Cast Task of T to Task of object
            
        
        
            
            Throws the first faulting exception for a task which is faulted. It preserves the original stack trace when
            throwing the exception. Note: It is the caller's responsibility not to pass incomplete tasks to this
            method, because it does degenerate into a call to the equivalent of .Wait() on the task when it hasn't yet
            completed.
            
        
        
            
            Attempts to get the result value for the given task. If the task ran to completion, then
            it will return true and set the result value; otherwise, it will return false.
            
        
        
            
            Helpers for encoding, decoding, and parsing URI query components. In .Net 4.5
            please use the WebUtility class.
            
        
        
            
            Helper extension methods for fast use of collections.
            
        
        
            
            Return a new array with the value added to the end. Slow and best suited to long lived arrays with few writes relative to reads.
            
        
        
            
            Return the enumerable as an Array, copying if required. Optimized for common case where it is an Array. 
            Avoid mutating the return value.
            
        
        
            
            Return the enumerable as a Collection of T, copying if required. Optimized for the common case where it is 
            a Collection of T and avoiding a copy if it implements IList of T. Avoid mutating the return value.
            
        
        
            
            Return the enumerable as a IList of T, copying if required. Avoid mutating the return value.
            
        
        
            
            Return the enumerable as a List of T, copying if required. Optimized for common case where it is an List of T 
            or a ListWrapperCollection of T. Avoid mutating the return value.
            
        
        
            
            Remove values from the list starting at the index start.
            
        
        
            
            Return the only value from list, the type's default value if empty, or call the errorAction for 2 or more.
            
        
        
            
            Returns a single value in list matching type TMatch if there is only one, null if there are none of type TMatch or calls the
            errorAction with errorArg1 if there is more than one.
            
        
        
            
            Convert an ICollection to an array, removing null values. Fast path for case where there are no null values.
            
        
        
            
            Convert the array to a Dictionary using the keySelector to extract keys from values and the specified comparer. Optimized for array input.
            
        
        
            
            Convert the list to a Dictionary using the keySelector to extract keys from values and the specified comparer. Optimized for IList of T input with fast path for array.
            
        
        
            
            Convert the enumerable to a Dictionary using the keySelector to extract keys from values and the specified comparer. Fast paths for array and IList of T.
            
        
        
            
            Convert the list to a Dictionary using the keySelector to extract keys from values and the specified comparer. Optimized for IList of T input. No checking for other types.
            
        
        
            
            A class that inherits from Collection of T but also exposes its underlying data as List of T for performance.
            
        
        
            
            Provides various internal utility functions
            
        
        
            
            Quality factor to indicate a perfect match.
            
        
        
            
            Quality factor to indicate no match.
            
        
        
            
            The default max depth for our formatter is 256
            
        
        
            
            The default min depth for our formatter is 1
            
        
        
            
            HTTP X-Requested-With header field name
            
        
        
            
            HTTP X-Requested-With header field value
            
        
        
            
            HTTP Host header field name
            
        
        
            
            HTTP Version token
            
        
        
            
            A  representing .
            
        
        
            
            A  representing .
            
        
        
            
            A  representing .
            
        
        
            
            A  representing .
            
        
        
            
            A  representing .
            
        
        
            
            A  representing .
            
        
        
            
            Determines whether  is a  type.
            
            The type to test.
            
              true if  is a  type; otherwise, false.
            
        
        
            
            Creates an empty  instance. The only way is to get it from a dummy 
             instance.
            
            The created instance.
        
        
            
            Create a default reader quotas with a default depth quota of 1K
            
            
        
        
            
            Remove bounding quotes on a token if present
            
            Token to unquote.
            Unquoted token.
        
        
            
            Parses valid integer strings with no leading signs, whitespace or other 
            
            The value to parse
            The result
            True if value was valid; false otherwise.
        
        
            
            Abstract  class to support Bson and Json.
            
        
        
            
            Base class to handle serializing and deserializing strongly-typed objects using .
            
        
        
            
            Initializes a new instance of the  class.
            
        
        
            
            Initializes a new instance of the  class.
            
            The  instance to copy settings from.
        
        
            
            Returns a  to deserialize an object of the given  from the given 
            
            
            This implementation throws a . Derived types should override this method if the formatter
            supports reading.
            An implementation of this method should NOT close  upon completion. The stream will be closed independently when
            the  instance is disposed.
            
            
            The type of the object to deserialize.
            The  to read.
            The  if available. It may be null.
            The  to log events to.
            A  whose result will be an object of the given type.
            Derived types need to support reading.
            
        
        
            
            Returns a  to deserialize an object of the given  from the given 
            
            
            This implementation throws a . Derived types should override this method if the formatter
            supports reading.
            An implementation of this method should NOT close  upon completion. The stream will be closed independently when
            the  instance is disposed.
            
            
            The type of the object to deserialize.
            The  to read.
            The  if available. It may be null.
            The  to log events to.
            The token to monitor for cancellation requests.
            A  whose result will be an object of the given type.
            Derived types need to support reading.
            
        
        
            
            Returns a  that serializes the given  of the given 
            to the given .
            
            
            This implementation throws a . Derived types should override this method if the formatter
            supports reading.
            An implementation of this method should NOT close  upon completion. The stream will be closed independently when
            the  instance is disposed.
            
            
            The type of the object to write.
            The object value to write.  It may be null.
            The  to which to write.
            The  if available. It may be null.
            The  if available. It may be null.
            A  that will perform the write.
            Derived types need to support writing.
            
        
        
            
            Returns a  that serializes the given  of the given 
            to the given .
            
            
            This implementation throws a . Derived types should override this method if the formatter
            supports reading.
            An implementation of this method should NOT close  upon completion. The stream will be closed independently when
            the  instance is disposed.
            
            
            The type of the object to write.
            The object value to write.  It may be null.
            The  to which to write.
            The  if available. It may be null.
            The  if available. It may be null.
            The token to monitor for cancellation requests.
            A  that will perform the write.
            Derived types need to support writing.
            
        
        
            
            This method converts  (and interfaces that mandate it) to a  for serialization purposes.
            
            The type to potentially be wrapped. If the type is wrapped, it's changed in place.
            Returns true if the type was wrapped; false, otherwise
        
        
            
            This method converts  (and interfaces that mandate it) to a  for serialization purposes.
            
            The type to potentially be wrapped. If the type is wrapped, it's changed in place.
            Returns true if the type was wrapped; false, otherwise
        
        
            
            Determines the best  amongst the supported encodings
            for reading or writing an HTTP entity body based on the provided .
            
            The content headers provided as part of the request or response.
            The  to use when reading the request or writing the response.
        
        
            
            Sets the default headers for content that will be formatted using this formatter. This method
            is called from the  constructor.
            This implementation sets the Content-Type header to the value of  if it is
            not null. If it is null it sets the Content-Type to the default media type of this formatter.
            If the Content-Type does not specify a charset it will set it using this formatters configured
            .
            
            
            Subclasses can override this method to set content headers such as Content-Type etc. Subclasses should
            call the base implementation. Subclasses should treat the passed in  (if not null)
            as the authoritative media type and use that as the Content-Type.
            
            The type of the object being serialized. See .
            The content headers that should be configured.
            The authoritative media type. Can be null.
        
        
            
            Returns a specialized instance of the  that can handle formatting a response for the given
            parameters. This method is called after a formatter has been selected through content negotiation.
            
            
            The default implementation returns this instance. Derived classes can choose to return a new instance if
            they need to close over any of the parameters.
            
            The type being serialized.
            The request.
            The media type chosen for the serialization. Can be null.
            An instance that can format a response to the given .
        
        
            
            Determines whether this  can deserialize
            an object of the specified type.
            
            
            Derived classes must implement this method and indicate if a type can or cannot be deserialized.
            
            The type of object that will be deserialized.
            true if this  can deserialize an object of that type; otherwise false.
        
        
            
            Determines whether this  can serialize
            an object of the specified type.
            
            
            Derived classes must implement this method and indicate if a type can or cannot be serialized.
            
            The type of object that will be serialized.
            true if this  can serialize an object of that type; otherwise false.
        
        
            
            Gets the default value for the specified type.
            
        
        
            
            Gets or sets the maximum number of keys stored in a NameValueCollection. 
            
        
        
            
            Gets the mutable collection of  elements supported by
            this  instance.
            
        
        
            
            Gets the mutable collection of character encodings supported by
            this  instance. The encodings are
            used when reading or writing data. 
            
        
        
            
            Collection class that validates it contains only  instances
            that are not null and not media ranges.
            
        
        
            
            Inserts the  into the collection at the specified .
            
            The zero-based index at which item should be inserted.
            The object to insert. It cannot be null.
        
        
            
            Replaces the element at the specified .
            
            The zero-based index of the item that should be replaced.
            The new value for the element at the specified index.  It cannot be null.
        
        
            
            Initializes a new instance of the  class.
            
        
        
            
            Initializes a new instance of the  class.
            
            The  instance to copy settings from.
        
        
            
            Creates a  instance with the default settings used by the .
            
        
        
            
            Determines whether this  can read objects
            of the specified .
            
            The  of object that will be read.
            true if objects of this  can be read, otherwise false.
        
        
            
            Determines whether this  can write objects
            of the specified .
            
            The  of object that will be written.
            true if objects of this  can be written, otherwise false.
        
        
            
            Called during deserialization to read an object of the specified 
            from the specified .
            
            The  of object to read.
            The  from which to read.
            The  for the content being written.
            The  to log events to.
            A  whose result will be the object instance that has been read.
        
        
            
            Called during deserialization to read an object of the specified 
            from the specified .
            
            
            Public for delegating wrappers of this class.  Expected to be called only from
            .
            
            The  of object to read.
            The  from which to read.
            The  to use when reading.
            The  to log events to.
            The  instance that has been read.
        
        
            
            Called during deserialization to get the .
            
            
            Public for delegating wrappers of this class.  Expected to be called only from
            .
            
            The  of object to read.
            The  from which to read.
            The  to use when reading.
            The  used during deserialization.
        
        
            
            Called during serialization and deserialization to get the .
            
            
            Public for delegating wrappers of this class.  Expected to be called only from
             and .
            
            The  used during serialization and deserialization.
        
        
            
        
        
            
            Called during serialization to write an object of the specified 
            to the specified .
            
            
            Public for delegating wrappers of this class.  Expected to be called only from
            .
            
            The  of object to write.
            The object to write.
            The  to which to write.
            The  to use when writing.
        
        
            
            Called during serialization to get the .
            
            
            Public for delegating wrappers of this class.  Expected to be called only from
            .
            
            The  of object to write.
            The  to which to write.
            The  to use when writing.
            The  used during serialization.
        
        
            
            Gets or sets the  used to configure the .
            
        
        
            
             class to handle Bson.
            
        
        
            
            Initializes a new instance of the  class.
            
        
        
            
            Initializes a new instance of the  class.
            
            The  instance to copy settings from.
        
        
            
        
        
            
        
        
            
        
        
            
        
        
            
            Gets the default media type for Json, namely "application/bson".
            
            
            The default media type does not have any charset parameter as
            the  can be configured on a per 
            instance basis.
            
            
            Because  is mutable, the value
            returned will be a new instance every time.
            
        
        
            
            Helper class to serialize  types by delegating them through a concrete implementation."/>.
            
            The interface implementing  to proxy.
        
        
            
            Initialize a DelegatingEnumerable. This constructor is necessary for  to work.
            
        
        
            
            Initialize a DelegatingEnumerable with an . This is a helper class to proxy  interfaces for .
            
            The  instance to get the enumerator from.
        
        
            
            Get the enumerator of the associated .
            
            The enumerator of the  source.
        
        
            
            This method is not implemented but is required method for serialization to work. Do not use.
            
            The item to add. Unused.
        
        
            
            Get the enumerator of the associated .
            
            The enumerator of the  source.
        
        
            
            Represent the form data.
            - This has 100% fidelity (including ordering, which is important for deserializing ordered array). 
            - using interfaces allows us to optimize the implementation. E.g., we can avoid eagerly string-splitting a 10gb file. 
            - This also provides a convenient place to put extension methods. 
            
        
        
            
            Initialize a form collection around incoming data. 
            The key value enumeration should be immutable. 
            
            incoming set of key value pairs. Ordering is preserved.
        
        
            
            Initialize a form collection from a query string. 
            Uri and FormURl body have the same schema. 
            
        
        
            
            Initialize a form collection from a URL encoded query string. Any leading question
            mark (?) will be considered part of the query string and treated as any other value.
            
        
        
            
            Get the collection as a NameValueCollection.
            Beware this loses some ordering. Values are ordered within a key,
            but keys are no longer ordered against each other.
            
        
        
            
            Get values associated with a given key. If there are multiple values, they're concatenated. 
            
        
        
            
            Get a value associated with a given key. 
            
        
        
            
            Gets values associated with a given key. If there are multiple values, they're concatenated.
            
            The name of the entry that contains the values to get. The name can be null.
            Values associated with a given key. If there are multiple values, they're concatenated.
        
        
            
            This class provides a low-level API for parsing HTML form URL-encoded data, also known as application/x-www-form-urlencoded 
            data. The output of the parser is a  instance. 
            This is a low-level API intended for use by other APIs. It has been optimized for performance and 
            is not intended to be called directly from user code.
            
        
        
            
            Parses a collection of query string values as a .
            
            This is a low-level API intended for use by other APIs. It has been optimized for performance and 
            is not intended to be called directly from user code.
            The collection of query string name-value pairs parsed in lexical order. Both names
            and values must be un-escaped so that they don't contain any  encoding.
            The  corresponding to the given query string values.
        
        
            
            Parses a collection of query string values as a .
            
            This is a low-level API intended for use by other APIs. It has been optimized for performance and 
            is not intended to be called directly from user code.
            The collection of query string name-value pairs parsed in lexical order. Both names
            and values must be un-escaped so that they don't contain any  encoding.
            The maximum depth of object graph encoded as x-www-form-urlencoded.
            The  corresponding to the given query string values.
        
        
            
            Parses a collection of query string values as a .
            
            This is a low-level API intended for use by other APIs. It has been optimized for performance and 
            is not intended to be called directly from user code.
            The collection of query string name-value pairs parsed in lexical order. Both names
            and values must be un-escaped so that they don't contain any  encoding.
            The parsed result or null if parsing failed.
            true if  was parsed successfully; otherwise false.
        
        
            
            Parses a collection of query string values as a .
            
            This is a low-level API intended for use by other APIs. It has been optimized for performance and 
            is not intended to be called directly from user code.
            The collection of query string name-value pairs parsed in lexical order. Both names
            and values must be un-escaped so that they don't contain any  encoding.
            The maximum depth of object graph encoded as x-www-form-urlencoded.
            The parsed result or null if parsing failed.
            true if  was parsed successfully; otherwise false.
        
        
            
            Parses a collection of query string values as a .
            
            This is a low-level API intended for use by other APIs. It has been optimized for performance and 
            is not intended to be called directly from user code.
            The collection of query string name-value pairs parsed in lexical order. Both names
            and values must be un-escaped so that they don't contain any  encoding.
            The maximum depth of object graph encoded as x-www-form-urlencoded.
            Indicates whether to throw an exception on error or return false
            The  corresponding to the given query string values.
        
        
            
            Class that wraps key-value pairs.
            
            
            This use of this class avoids a FxCop warning CA908 which happens if using various generic types.
            
        
        
            
            Initializes a new instance of the  class.
            
            The key of this  instance.
            The value of this  instance.
        
        
            
            Gets or sets the key of this  instance.
            
            
            The key of this  instance.
            
        
        
            
            Gets or sets the value of this  instance.
            
            
            The value of this  instance.
            
        
        
            
            Interface to log events that occur during formatter reads.
            
        
        
            
            Logs an error.
            
            The path to the member for which the error is being logged.
            The error message to be logged.
        
        
            
            Logs an error.
            
            The path to the member for which the error is being logged.
            The exception to be logged.
        
        
            
             class to handle Json.
            
        
        
            
            Initializes a new instance of the  class.
            
        
        
            
            Initializes a new instance of the  class.
            
            The  instance to copy settings from.
        
        
            
        
        
            
        
        
            
            Gets the default media type for Json, namely "application/json".
            
            
            The default media type does not have any charset parameter as
            the  can be configured on a per 
            instance basis.
            
            
            Because  is mutable, the value
            returned will be a new instance every time.
            
        
        
            
            Gets or sets a value indicating whether to indent elements when writing data. 
            
        
        
            
            Constants related to media types.
            
        
        
            
            Gets a  instance representing application/octet-stream.
            
            
            A new  instance representing application/octet-stream.
            
        
        
            
            Gets a  instance representing application/xml.
            
            
            A new  instance representing application/xml.
            
        
        
            
            Gets a  instance representing application/json.
            
            
            A new  instance representing application/json.
            
        
        
            
            Gets a  instance representing text/xml.
            
            
            A new  instance representing text/xml.
            
        
        
            
            Gets a  instance representing text/json.
            
            
            A new  instance representing text/json.
            
        
        
            
            Gets a  instance representing application/x-www-form-urlencoded.
            
            
            A new  instance representing application/x-www-form-urlencoded.
            
        
        
            
            Gets a  instance representing application/bson.
            
            
            A new  instance representing application/bson.
            
            
            Not yet a standard. In particular this media type is not currently listed at
            http://www.iana.org/assignments/media-types/application.
            
        
        
            
            Collection class that contains  instances.
            
        
        
            
            Initializes a new instance of the  class.
            
            
            This collection will be initialized to contain default 
            instances for Xml, JsonValue and Json.
            
        
        
            
            Initializes a new instance of the  class.
            
            A collection of  instances to place in the collection.
        
        
            
            Helper to search a collection for a formatter that can read the .NET type in the given mediaType.
            
            .NET type to read
            media type to match on.
            Formatter that can read the type. Null if no formatter found.
        
        
            
            Helper to search a collection for a formatter that can write the .NET type in the given mediaType.
            
            .NET type to read
            media type to match on.
            Formatter that can write the type. Null if no formatter found.
        
        
            
            Returns true if the type is one of those loosely defined types that should be excluded from validation
            
            .NET  to validate
            true if the type should be excluded.
        
        
            
            Creates a collection of new instances of the default s.
            
            The collection of default  instances.
        
        
            
            Gets the  to use for Xml.
            
        
        
            
            Gets the  to use for Json.
            
        
        
            
            Extension methods for .
            
        
        
            
            Determines whether two  instances match. The instance
             is said to match  if and only if
             is a strict subset of the values and parameters of . 
            That is, if the media type and media type parameters of  are all present 
            and match those of  then it is a match even though  may have additional
            parameters.
            
            The first media type.
            The second media type.
            true if this is a subset of ; false otherwise.
        
        
            
            Determines whether two  instances match. The instance
             is said to match  if and only if
             is a strict subset of the values and parameters of . 
            That is, if the media type and media type parameters of  are all present 
            and match those of  then it is a match even though  may have additional
            parameters.
            
            The first media type.
            The second media type.
            Indicates whether  is a regular media type, a subtype media range, or a full media range
            true if this is a subset of ; false otherwise.
        
        
            
            Not a media type range
            
        
        
            
            A subtype media range, e.g. "application/*".
            
        
        
            
            An all media range, e.g. "*/*".
            
        
        
            
            Buffer-oriented parsing of HTML form URL-ended, also known as application/x-www-form-urlencoded, data. 
            
        
        
            
            Initializes a new instance of the  class.
            
            The collection to which name value pairs are added as they are parsed.
            Maximum length of all the individual name value pairs.
        
        
            
            Parse a buffer of URL form-encoded name-value pairs and add them to the collection.
            Bytes are parsed in a consuming manner from the beginning of the buffer meaning that the same bytes can not be 
            present in the buffer.
            
            Buffer from where data is read
            Size of buffer
            Offset into buffer
            Indicates whether the end of the URL form-encoded data has been reached.
            State of the parser. Call this method with new data until it reaches a final state.
        
        
            
            Maintains information about the current header field being parsed. 
            
        
        
            
            Copies current name value pair field to the provided collection instance.
            
            The collection to copy into.
        
        
            
            Copies current name-only to the provided collection instance.
            
            The collection to copy into.
        
        
            
            Clears this instance.
            
        
        
            
            Gets the name of the name value pair.
            
        
        
            
            Gets the value of the name value pair
            
        
        
            
            The  combines  for parsing the HTTP Request Line  
            and  for parsing each header field. 
            
        
        
            
            Initializes a new instance of the  class.
            
            The parsed HTTP request without any header sorting.
        
        
            
            Initializes a new instance of the  class.
            
            The parsed HTTP request without any header sorting.
            The max length of the HTTP request line.
            The max length of the HTTP header.
        
        
            
            Parse an HTTP request header and fill in the  instance.
            
            Request buffer from where request is read
            Size of request buffer
            Offset into request buffer
            State of the parser.
        
        
            
            HTTP Request Line parser for parsing the first line (the request line) in an HTTP request.
            
        
        
            
            Initializes a new instance of the  class.
            
             instance where the request line properties will be set as they are parsed.
            Maximum length of HTTP header.
        
        
            
            Parse an HTTP request line. 
            Bytes are parsed in a consuming manner from the beginning of the request buffer meaning that the same bytes can not be 
            present in the request buffer.
            
            Request buffer from where request is read
            Size of request buffer
            Offset into request buffer
            State of the parser.
        
        
            
            The  combines  for parsing the HTTP Status Line  
            and  for parsing each header field. 
            
        
        
            
            Initializes a new instance of the  class.
            
            The parsed HTTP response without any header sorting.
        
        
            
            Initializes a new instance of the  class.
            
            The parsed HTTP response without any header sorting.
            The max length of the HTTP status line.
            The max length of the HTTP header.
        
        
            
            Parse an HTTP response header and fill in the  instance.
            
            Response buffer from where response is read
            Size of response buffer
            Offset into response buffer
            State of the parser.
        
        
            
            HTTP Status line parser for parsing the first line (the status line) in an HTTP response.
            
        
        
            
            Initializes a new instance of the  class.
            
             instance where the response line properties will be set as they are parsed.
            Maximum length of HTTP header.
        
        
            
            Parse an HTTP status line. 
            Bytes are parsed in a consuming manner from the beginning of the response buffer meaning that the same bytes can not be 
            present in the response buffer.
            
            Response buffer from where response is read
            Size of response buffer
            Offset into response buffer
            State of the parser.
        
        
            
            Buffer-oriented RFC 5322 style Internet Message Format parser which can be used to pass header 
            fields used in HTTP and MIME message entities. 
            
        
        
            
            Initializes a new instance of the  class.
            
            Concrete  instance where header fields are added as they are parsed.
            Maximum length of complete header containing all the individual header fields.
        
        
            
            Parse a buffer of RFC 5322 style header fields and add them to the  collection.
            Bytes are parsed in a consuming manner from the beginning of the buffer meaning that the same bytes can not be 
            present in the buffer.
            
            Request buffer from where request is read
            Size of request buffer
            Offset into request buffer
            State of the parser. Call this method with new data until it reaches a final state.
        
        
            
            Maintains information about the current header field being parsed. 
            
        
        
            
            Copies current header field to the provided  instance.
            
            The headers.
        
        
            
            Determines whether this instance is empty.
            
            
              true if this instance is empty; otherwise, false.
            
        
        
            
            Clears this instance.
            
        
        
            
            Gets the header field name.
            
        
        
            
            Gets the header field value.
            
        
        
            
            Complete MIME multipart parser that combines  for parsing the MIME message into individual body parts 
            and  for parsing each body part into a MIME header and a MIME body. The caller of the parser is returned
            the resulting MIME bodies which can then be written to some output.
            
        
        
            
            Initializes a new instance of the  class.
            
            An existing  instance to use for the object's content.
            A stream provider providing output streams for where to write body parts as they are parsed.
        
        
            
            Initializes a new instance of the  class.
            
            An existing  instance to use for the object's content.
            A stream provider providing output streams for where to write body parts as they are parsed.
            The max length of the entire MIME multipart message.
            The max length of the MIME header within each MIME body part.
        
        
            
            Determines whether the specified content is MIME multipart content.
            
            The content.
            
              true if the specified content is MIME multipart content; otherwise, false.
            
        
        
            
            Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
            
        
        
            
            Parses the data provided and generates parsed MIME body part bodies in the form of  which are ready to 
            write to the output stream.
            
            The data to parse
            The number of bytes available in the input data
            Parsed  instances.
        
        
            
            Releases unmanaged and - optionally - managed resources
            
            true to release both managed and unmanaged resources; false to release only unmanaged resources.
        
        
            
            Buffer-oriented MIME multipart parser.
            
        
        
            
            Initializes a new instance of the  class.
            
            Message boundary
            Maximum length of entire MIME multipart message.
        
        
            
            Parse a MIME multipart message. Bytes are parsed in a consuming
            manner from the beginning of the request buffer meaning that the same bytes can not be 
            present in the request buffer.
            
            Request buffer from where request is read
            Size of request buffer
            Offset into request buffer
            Any body part that was considered as a potential MIME multipart boundary but which was in fact part of the body.
            The bulk of the body part.
            Indicates whether the final body part has been found.
            In order to get the complete body part, the caller is responsible for concatenating the contents of the 
             and  out parameters.
            State of the parser.
        
        
            
            Represents the overall state of the .
            
        
        
            
            Need more data
            
        
        
            
            Parsing of a complete body part succeeded.
            
        
        
            
            Bad data format
            
        
        
            
            Data exceeds the allowed size
            
        
        
            
            Maintains information about the current body part being parsed.
            
        
        
            
            Initializes a new instance of the  class.
            
            The reference boundary.
        
        
            
            Resets the boundary offset.
            
        
        
            
            Resets the boundary.
            
        
        
            
            Appends byte to the current boundary.
            
            The data to append to the boundary.
        
        
            
            Appends array of bytes to the current boundary.
            
            The data to append to the boundary.
            The offset into the data.
            The number of bytes to append.
        
        
            
            Gets the discarded boundary.
            
            An  containing the discarded boundary.
        
        
            
            Determines whether current boundary is valid.
            
            
              true if curent boundary is valid; otherwise, false.
            
        
        
            
            Clears the body part.
            
        
        
            
            Clears all.
            
        
        
            
            Gets or sets a value indicating whether this instance has potential boundary left over.
            
            
            true if this instance has potential boundary left over; otherwise, false.
            
        
        
            
            Gets the boundary delta.
            
        
        
            
            Gets or sets the body part.
            
            
            The body part.
            
        
        
            
            Gets a value indicating whether this body part instance is final.
            
            
              true if this body part instance is final; otherwise, false.
            
        
        
            
            Represents the overall state of various parsers.
            
        
        
            
            Need more data
            
        
        
            
            Parsing completed (final)
            
        
        
            
            Bad data format (final)
            
        
        
            
            Data exceeds the allowed size (final)
            
        
        
            
            Helper class for validating  values.
            
        
        
            
            Determines whether the specified  is defined by the 
            enumeration.
            
            The value to verify.
            
            true if the specified options is defined; otherwise, false.
            
        
        
            
            Validates the specified  and throws an 
            exception if not valid.
            
            The value to validate.
            Name of the parameter to use if throwing exception.
        
        
            
             class to handle Xml.
            
        
        
            
            Initializes a new instance of the  class.
            
        
        
            
            Initializes a new instance of the  class.
            
            The  instance to copy settings from.
        
        
            
            Registers the  to use to read or write
            the specified .
            
            The type of object that will be serialized or deserialized with .
            The  instance to use.
        
        
            
            Registers the  to use to read or write
            the specified  type.
            
            The type of object that will be serialized or deserialized with .
            The  instance to use.
        
        
            
            Registers the  to use to read or write
            the specified .
            
            The type of objects for which  will be used.
            The  instance to use.
        
        
            
            Registers the  to use to read or write
            the specified  type.
            
            The type of object that will be serialized or deserialized with .
            The  instance to use.
        
        
            
            Unregisters the serializer currently associated with the given .
            
            
            Unless another serializer is registered for the , a default one will be created.
            
            The type of object whose serializer should be removed.
            true if a serializer was registered for the ; otherwise false.
        
        
            
            Determines whether this  can read objects
            of the specified .
            
            The type of object that will be read.
            true if objects of this  can be read, otherwise false.
        
        
            
            Determines whether this  can write objects
            of the specified .
            
            The type of object that will be written.
            true if objects of this  can be written, otherwise false.
        
        
            
            Called during deserialization to read an object of the specified 
            from the specified .
            
            The type of object to read.
            The  from which to read.
            The  for the content being read.
            The  to log events to.
            A  whose result will be the object instance that has been read.
        
        
            
            Called during deserialization to get the XML serializer to use for deserializing objects.
            
            The type of object to deserialize.
            The  for the content being read.
            An instance of  or  to use for deserializing the object.
        
        
            
            Called during deserialization to get the XML reader to use for reading objects from the stream.
            
            The  to read from.
            The  for the content being read.
            The  to use for reading objects.
        
        
            
        
        
            
            Called during serialization to get the XML serializer to use for serializing objects.
            
            The type of object to serialize.
            The object to serialize.
            The  for the content being written.
            An instance of  or  to use for serializing the object.
        
        
            
            Called during serialization to get the XML writer to use for writing objects to the stream.
            
            The  to write to.
            The  for the content being written.
            The  to use for writing objects.
        
        
            
            Called during deserialization to get the XML serializer.
            
            The type of object that will be serialized or deserialized.
            The  used to serialize the object.
        
        
            
            Called during deserialization to get the DataContractSerializer serializer.
            
            The type of object that will be serialized or deserialized.
            The  used to serialize the object.
        
        
            
            This method is to support infrastructure and is not intended to be used directly from your code.
            
        
        
            
            This method is to support infrastructure and is not intended to be used directly from your code.
            
        
        
            
            This method is to support infrastructure and is not intended to be used directly from your code.
            
        
        
            
            This method is to support infrastructure and is not intended to be used directly from your code.
            
        
        
            
            Gets the default media type for xml, namely "application/xml".
            
            
            
            The default media type does not have any charset parameter as 
            the  can be configured on a per  
            instance basis.
            
            Because  is mutable, the value
            returned will be a new instance every time.
            
        
        
            
            Gets or sets a value indicating whether to use  instead of  by default.
            
            
                true if use  by default; otherwise, false. The default is false.
            
        
        
            
            Gets or sets a value indicating whether to indent elements when writing data. 
            
        
        
            
            Gets the  to be used while writing.
            
        
        
            
             NameValueCollection to represent form data and to generate form data output.
            
        
        
            
            Creates a new  instance 
            
        
        
            
            Adds a name-value pair to the collection.
            
            The name to be added as a case insensitive string.
            The value to be added.
        
        
            
            Converts the content of this instance to its equivalent string representation.
            
            The string representation of the value of this instance, multiple values with a single key are comma separated.
        
        
            
            Gets the values associated with the specified name
            combined into one comma-separated list.
            
            The name of the entry that contains the values to get. The name can be null.
            
            A  that contains a comma-separated list of url encoded values associated
            with the specified name if found; otherwise, null. The values are Url encoded.
            
        
        
            
            Gets the values associated with the specified name.
            
            The 
            A  that contains url encoded values associated with the name, or null if the name does not exist.
        
        
            
        
        
            
        
        
            
            Gets the values associated with the specified name
            combined into one comma-separated list.
            
            The name of the entry that contains the values to get. The name can be null.
            A  that contains a comma-separated list of url encoded values associated
            with the specified name if found; otherwise, null. The values are Url encoded.
        
        
            
            Gets the number of names in the collection.
            
        
        
            
            Extension methods to allow strongly typed objects to be read from the query component of  instances.
            
        
        
            
            Parses the query portion of the specified .
            
            The  instance from which to read.
            A  containing the parsed result.
        
        
            
            Reads HTML form URL encoded data provided in the  query component as a  object.
            
            The  instance from which to read.
            An object to be initialized with this instance or null if the conversion cannot be performed.
            true if the query component can be read as ; otherwise false.
        
        
            
            Reads HTML form URL encoded data provided in the  query component as an  of the given .
            
            The  instance from which to read.
            The type of the object to read.
            An object to be initialized with this instance or null if the conversion cannot be performed.
            true if the query component can be read as the specified type; otherwise false.
        
        
            
            Reads HTML form URL encoded data provided in the  query component as an  of type .
            
            The type of the object to read.
            The  instance from which to read.
            An object to be initialized with this instance or null if the conversion cannot be performed.
            true if the query component can be read as the specified type; otherwise false.
        
        
            
            Provides data for the events generated by .
            
        
        
            
            Initializes a new instance of the  with the parameters given.
            
            The percent completed of the overall exchange.
            Any user state provided as part of reading or writing the data.
            The current number of bytes either received or sent.
            The total number of bytes expected to be received or sent.
        
        
            
            Gets the current number of bytes transferred.
            
        
        
            
            Gets the total number of expected bytes to be sent or received. If the number is not known then this is null.
            
        
        
            
            Wraps an inner  in order to insert a  on writing data.
            
        
        
            
            The  provides a mechanism for getting progress event notifications
            when sending and receiving data in connection with exchanging HTTP requests and responses.
            Register event handlers for the events  and 
            to see events for data being sent and received.
            
        
        
            
            Initializes a new instance of the  class.
            
        
        
            
            Initializes a new instance of the  class.
            
            The inner handler to which this handler submits requests.
        
        
            
            Raises the  event.
            
            The request.
            The  instance containing the event data.
        
        
            
            Raises the  event.
            
            The request.
            The  instance containing the event data.
        
        
            
            Occurs every time the client sending data is making progress.
            
        
        
            
            Occurs every time the client receiving data is making progress.
            
        
        
            
            This implementation of  registers how much data has been 
            read (received) versus written (sent) for a particular HTTP operation. The implementation
            is client side in that the total bytes to send is taken from the request and the total
            bytes to read is taken from the response. In a server side scenario, it would be the
            other way around (reading the request and writing the response).
            
        
        
            
            Stream that delegates to inner stream. 
            This is taken from System.Net.Http
            
        
        
            
            Extension methods that aid in making formatted requests using .
            
        
        
            
            Sends a POST request as an asynchronous operation to the specified Uri with the given  serialized
            as JSON.
            
            
            This method uses a default instance of .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            A task object representing the asynchronous operation.
        
        
            
            Sends a POST request as an asynchronous operation to the specified Uri with the given  serialized
            as JSON.
            
            
            This method uses a default instance of .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The token to monitor for cancellation requests.
            A task object representing the asynchronous operation.
        
        
            
            Sends a POST request as an asynchronous operation to the specified Uri with the given  serialized
            as JSON.
            
            
            This method uses a default instance of .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            A task object representing the asynchronous operation.
        
        
            
            Sends a POST request as an asynchronous operation to the specified Uri with the given  serialized
            as JSON.
            
            
            This method uses a default instance of .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The token to monitor for cancellation requests.
            A task object representing the asynchronous operation.
        
        
            
            Sends a POST request as an asynchronous operation to the specified Uri with the given  serialized
            as XML.
            
            
            This method uses the default instance of .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            A task object representing the asynchronous operation.
        
        
            
            Sends a POST request as an asynchronous operation to the specified Uri with the given  serialized
            as XML.
            
            
            This method uses the default instance of .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The token to monitor for cancellation requests.
            A task object representing the asynchronous operation.
        
        
            
            Sends a POST request as an asynchronous operation to the specified Uri with the given  serialized
            as XML.
            
            
            This method uses the default instance of .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            A task object representing the asynchronous operation.
        
        
            
            Sends a POST request as an asynchronous operation to the specified Uri with the given  serialized
            as XML.
            
            
            This method uses the default instance of .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The token to monitor for cancellation requests.
            A task object representing the asynchronous operation.
        
        
            
            Sends a POST request as an asynchronous operation to the specified Uri with 
            serialized using the given .
            
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The formatter used to serialize the .
            A task object representing the asynchronous operation.
        
        
            
            Sends a POST request as an asynchronous operation to the specified Uri with 
            serialized using the given .
            
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The formatter used to serialize the .
            The token to monitor for cancellation requests.
            A task object representing the asynchronous operation.
        
        
            
            Sends a POST request as an asynchronous operation to the specified Uri with 
            serialized using the given .
            
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The formatter used to serialize the .
            The authoritative value of the request's content's Content-Type header. Can be null in which case the
            formatter's default content type will be used.
            A task object representing the asynchronous operation.
        
        
            
            Sends a POST request as an asynchronous operation to the specified Uri with 
            serialized using the given .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The formatter used to serialize the .
            The authoritative value of the request's content's Content-Type header. Can be null in which case the
            formatter's default content type will be used.
            The token to monitor for cancellation requests.
            A task object representing the asynchronous operation.
        
        
            
            Sends a POST request as an asynchronous operation to the specified Uri with 
            serialized using the given .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The formatter used to serialize the .
            The authoritative value of the request's content's Content-Type header. Can be null in which case the
            formatter's default content type will be used.
            The token to monitor for cancellation requests.
            A task object representing the asynchronous operation.
        
        
            
            Sends a POST request as an asynchronous operation to the specified Uri with 
            serialized using the given .
            
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The formatter used to serialize the .
            A task object representing the asynchronous operation.
        
        
            
            Sends a POST request as an asynchronous operation to the specified Uri with 
            serialized using the given .
            
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The formatter used to serialize the .
            The token to monitor for cancellation requests.
            A task object representing the asynchronous operation.
        
        
            
            Sends a POST request as an asynchronous operation to the specified Uri with 
            serialized using the given .
            
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The formatter used to serialize the .
            The authoritative value of the request's content's Content-Type header. Can be null in which case the
            formatter's default content type will be used.
            A task object representing the asynchronous operation.
        
        
            
            Sends a POST request as an asynchronous operation to the specified Uri with 
            serialized using the given .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The formatter used to serialize the .
            The authoritative value of the request's content's Content-Type header. Can be null in which case the
            formatter's default content type will be used.
            The token to monitor for cancellation requests.
            A task object representing the asynchronous operation.
        
        
            
            Sends a POST request as an asynchronous operation to the specified Uri with 
            serialized using the given .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The formatter used to serialize the .
            The authoritative value of the request's content's Content-Type header. Can be null in which case the
            formatter's default content type will be used.
            The token to monitor for cancellation requests.
            A task object representing the asynchronous operation.
        
        
            
            Sends a PUT request as an asynchronous operation to the specified Uri with the given  serialized
            as JSON.
            
            
            This method uses a default instance of .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            A task object representing the asynchronous operation.
        
        
            
            Sends a PUT request as an asynchronous operation to the specified Uri with the given  serialized
            as JSON.
            
            
            This method uses a default instance of .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The token to monitor for cancellation requests.
            A task object representing the asynchronous operation.
        
        
            
            Sends a PUT request as an asynchronous operation to the specified Uri with the given  serialized
            as JSON.
            
            
            This method uses a default instance of .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            A task object representing the asynchronous operation.
        
        
            
            Sends a PUT request as an asynchronous operation to the specified Uri with the given  serialized
            as JSON.
            
            
            This method uses a default instance of .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The token to monitor for cancellation requests.
            A task object representing the asynchronous operation.
        
        
            
            Sends a PUT request as an asynchronous operation to the specified Uri with the given  serialized
            as XML.
            
            
            This method uses a default instance of .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            A task object representing the asynchronous operation.
        
        
            
            Sends a PUT request as an asynchronous operation to the specified Uri with the given  serialized
            as XML.
            
            
            This method uses the default instance of .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The token to monitor for cancellation requests.
            A task object representing the asynchronous operation.
        
        
            
            Sends a PUT request as an asynchronous operation to the specified Uri with the given  serialized
            as XML.
            
            
            This method uses the default instance of .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            A task object representing the asynchronous operation.
        
        
            
            Sends a PUT request as an asynchronous operation to the specified Uri with the given  serialized
            as XML.
            
            
            This method uses the default instance of .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The token to monitor for cancellation requests.
            A task object representing the asynchronous operation.
        
        
            
            Sends a PUT request as an asynchronous operation to the specified Uri with 
            serialized using the given .
            
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The formatter used to serialize the .
            A task object representing the asynchronous operation.
        
        
            
            Sends a PUT request as an asynchronous operation to the specified Uri with 
            serialized using the given .
            
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The formatter used to serialize the .
            The token to monitor for cancellation requests.
            A task object representing the asynchronous operation.
        
        
            
            Sends a PUT request as an asynchronous operation to the specified Uri with 
            serialized using the given .
            
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The formatter used to serialize the .
            The authoritative value of the request's content's Content-Type header. Can be null in which case the
            formatter's default content type will be used.
            A task object representing the asynchronous operation.
        
        
            
            Sends a PUT request as an asynchronous operation to the specified Uri with 
            serialized using the given .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The formatter used to serialize the .
            The authoritative value of the request's content's Content-Type header. Can be null in which case the
            formatter's default content type will be used.
            The token to monitor for cancellation requests.
            A task object representing the asynchronous operation.
        
        
            
            Sends a PUT request as an asynchronous operation to the specified Uri with 
            serialized using the given .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The formatter used to serialize the .
            The authoritative value of the request's content's Content-Type header. Can be null in which case the
            formatter's default content type will be used.
            The token to monitor for cancellation requests.
            A task object representing the asynchronous operation.
        
        
            
            Sends a PUT request as an asynchronous operation to the specified Uri with 
            serialized using the given .
            
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The formatter used to serialize the .
            A task object representing the asynchronous operation.
        
        
            
            Sends a PUT request as an asynchronous operation to the specified Uri with 
            serialized using the given .
            
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The formatter used to serialize the .
            The token to monitor for cancellation requests.
            A task object representing the asynchronous operation.
        
        
            
            Sends a PUT request as an asynchronous operation to the specified Uri with 
            serialized using the given .
            
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The formatter used to serialize the .
            The authoritative value of the request's content's Content-Type header. Can be null in which case the
            formatter's default content type will be used.
            A task object representing the asynchronous operation.
        
        
            
            Sends a PUT request as an asynchronous operation to the specified Uri with 
            serialized using the given .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The formatter used to serialize the .
            The authoritative value of the request's content's Content-Type header. Can be null in which case the
            formatter's default content type will be used.
            The token to monitor for cancellation requests.
            A task object representing the asynchronous operation.
        
        
            
            Sends a PUT request as an asynchronous operation to the specified Uri with 
            serialized using the given .
            
            The type of .
            The client used to make the request.
            The Uri the request is sent to.
            The value that will be placed in the request's entity body.
            The formatter used to serialize the .
            The authoritative value of the request's content's Content-Type header. Can be null in which case the
            formatter's default content type will be used.
            The token to monitor for cancellation requests.
            A task object representing the asynchronous operation.
        
        
            
            Creates a new  instance configured with the handlers provided and with an
             as the innermost handler.
            
            An ordered list of  instances to be invoked as an 
             travels from the  to the network and an 
             travels from the network back to .
            The handlers are invoked in a top-down fashion. That is, the first entry is invoked first for 
            an outbound request message but last for an inbound response message.
            An  instance with the configured handlers.
        
        
            
            Creates a new  instance configured with the handlers provided and with the
            provided  as the innermost handler.
            
            The inner handler represents the destination of the HTTP message channel.
            An ordered list of  instances to be invoked as an 
             travels from the  to the network and an 
             travels from the network back to .
            The handlers are invoked in a top-down fashion. That is, the first entry is invoked first for 
            an outbound request message but last for an inbound response message.
            An  instance with the configured handlers.
        
        
            
            Creates an instance of an  using the  instances
            provided by . The resulting pipeline can be used to manually create 
            or  instances with customized message handlers.
            
            The inner handler represents the destination of the HTTP message channel.
            An ordered list of  instances to be invoked as part 
            of sending an  and receiving an .
            The handlers are invoked in a top-down fashion. That is, the first entry is invoked first for 
            an outbound request message but last for an inbound response message.
            The HTTP message channel.
        
        
            
            Extension methods to allow strongly typed objects to be read from  instances.
            
        
        
            
            Returns a  that will yield an object of the specified 
            from the  instance.
            
            This override use the built-in collection of formatters.
            The  instance from which to read.
            The type of the object to read.
            A task object representing reading the content as an object of the specified type.
        
        
            
            Returns a  that will yield an object of the specified 
            from the  instance.
            
            This override use the built-in collection of formatters.
            The  instance from which to read.
            The type of the object to read.
            The token to monitor for cancellation requests.
            A task object representing reading the content as an object of the specified type.
        
        
            
            Returns a  that will yield an object of the specified 
            from the  instance using one of the provided 
            to deserialize the content.
            
            The  instance from which to read.
            The type of the object to read.
            The collection of  instances to use.
            A task object representing reading the content as an object of the specified type.
        
        
            
            Returns a  that will yield an object of the specified 
            from the  instance using one of the provided 
            to deserialize the content.
            
            The  instance from which to read.
            The type of the object to read.
            The collection of  instances to use.
            The token to monitor for cancellation requests.
            A task object representing reading the content as an object of the specified type.
        
        
            
            Returns a  that will yield an object of the specified 
            from the  instance using one of the provided 
            to deserialize the content.
            
            The  instance from which to read.
            The type of the object to read.
            The collection of  instances to use.
            The  to log events to.
            A task object representing reading the content as an object of the specified type.
        
        
            
            Returns a  that will yield an object of the specified 
            from the  instance using one of the provided 
            to deserialize the content.
            
            The  instance from which to read.
            The type of the object to read.
            The collection of  instances to use.
            The  to log events to.
            The token to monitor for cancellation requests.
            A task object representing reading the content as an object of the specified type.
        
        
            
            Returns a  that will yield an object of the specified
            type  from the  instance.
            
            This override use the built-in collection of formatters.
            The type of the object to read.
            The  instance from which to read.
            A task object representing reading the content as an object of the specified type.
        
        
            
            Returns a  that will yield an object of the specified
            type  from the  instance.
            
            This override use the built-in collection of formatters.
            The type of the object to read.
            The  instance from which to read.
            The token to monitor for cancellation requests.
            A task object representing reading the content as an object of the specified type.
        
        
            
            Returns a  that will yield an object of the specified
            type  from the  instance.
            
            The type of the object to read.
            The  instance from which to read.
            The collection of  instances to use.
            A task object representing reading the content as an object of the specified type.
        
        
            
            Returns a  that will yield an object of the specified
            type  from the  instance.
            
            The type of the object to read.
            The  instance from which to read.
            The collection of  instances to use.
            The token to monitor for cancellation requests.
            A task object representing reading the content as an object of the specified type.
        
        
            
            Returns a  that will yield an object of the specified
            type  from the  instance.
            
            The type of the object to read.
            The  instance from which to read.
            The collection of  instances to use.
            The  to log events to.
            A task object representing reading the content as an object of the specified type.
        
        
            
            Returns a  that will yield an object of the specified
            type  from the  instance.
            
            The type of the object to read.
            The  instance from which to read.
            The collection of  instances to use.
            The  to log events to.
            The token to monitor for cancellation requests.
            A task object representing reading the content as an object of the specified type.
        
        
            
            Extension methods to read  and  entities from  instances.
            
        
        
            
            Determines whether the specified content is HTTP request message content.
            
            The content.
            
              true if the specified content is HTTP message content; otherwise, false.
            
        
        
            
            Determines whether the specified content is HTTP response message content.
            
            The content.
            
              true if the specified content is HTTP message content; otherwise, false.
            
        
        
            
            Read the  as an .
            
            The content to read.
            A task object representing reading the content as an .
        
        
            
            Read the  as an .
            
            The content to read.
            The token to monitor for cancellation requests.
            A task object representing reading the content as an .
        
        
            
            Read the  as an .
            
            The content to read.
            The URI scheme to use for the request URI.
            A task object representing reading the content as an .
        
        
            
            Read the  as an .
            
            The content to read.
            The URI scheme to use for the request URI.
            The token to monitor for cancellation requests.
            A task object representing reading the content as an .
        
        
            
            Read the  as an .
            
            The content to read.
            The URI scheme to use for the request URI (the 
            URI scheme is not actually part of the HTTP Request URI and so must be provided externally).
            Size of the buffer.
            A task object representing reading the content as an .
        
        
            
            Read the  as an .
            
            The content to read.
            The URI scheme to use for the request URI (the 
            URI scheme is not actually part of the HTTP Request URI and so must be provided externally).
            Size of the buffer.
            The token to monitor for cancellation requests.
            A task object representing reading the content as an .
        
        
            
            Read the  as an .
            
            The content to read.
            The URI scheme to use for the request URI (the 
            URI scheme is not actually part of the HTTP Request URI and so must be provided externally).
            Size of the buffer.
            The max length of the HTTP header.
            A task object representing reading the content as an .
        
        
            
            Read the  as an .
            
            The content to read.
            The URI scheme to use for the request URI (the 
            URI scheme is not actually part of the HTTP Request URI and so must be provided externally).
            Size of the buffer.
            The max length of the HTTP header.
            The token to monitor for cancellation requests.
            A task object representing reading the content as an .
        
        
            
            Read the  as an .
            
            The content to read.
            A task object representing reading the content as an .
        
        
            
            Read the  as an .
            
            The content to read.
            The token to monitor for cancellation requests.
            A task object representing reading the content as an .
        
        
            
            Read the  as an .
            
            The content to read.
            Size of the buffer.
            A task object representing reading the content as an .
        
        
            
            Read the  as an .
            
            The content to read.
            Size of the buffer.
            The token to monitor for cancellation requests.
            A task object representing reading the content as an .
        
        
            
            Read the  as an .
            
            The content to read.
            Size of the buffer.
            The max length of the HTTP header.
            A task object representing reading the content as an .
        
        
            
            Read the  as an .
            
            The content to read.
            Size of the buffer.
            The max length of the HTTP header.
            The token to monitor for cancellation requests.
            The parsed  instance.
        
        
            
            Creates the request URI by combining scheme (provided) with parsed values of
            host and path.
            
            The URI scheme to use for the request URI.
            The unsorted HTTP request.
            A fully qualified request URI.
        
        
            
            Copies the unsorted header fields to a sorted collection.
            
            The unsorted source headers
            The destination  or .
            The input  used to form any  being part of this HTTP request.
            Start location of any request entity within the .
            An  instance if header fields contained and .
        
        
            
            Creates an  based on information provided in .
            
            The URI scheme to use for the request URI.
            The unsorted HTTP request.
            The input  used to form any  being part of this HTTP request.
            Start location of any request entity within the .
            A newly created  instance.
        
        
            
            Creates an  based on information provided in .
            
            The unsorted HTTP Response.
            The input  used to form any  being part of this HTTP Response.
            Start location of any Response entity within the .
            A newly created  instance.
        
        
            
            Extension methods to read MIME multipart entities from  instances.
            
        
        
            
            Determines whether the specified content is MIME multipart content.
            
            The content.
            
              true if the specified content is MIME multipart content; otherwise, false.
            
        
        
            
            Determines whether the specified content is MIME multipart content with the 
            specified subtype. For example, the subtype mixed would match content
            with a content type of multipart/mixed. 
            
            The content.
            The MIME multipart subtype to match.
            
              true if the specified content is MIME multipart content with the specified subtype; otherwise, false.
            
        
        
            
            Reads all body parts within a MIME multipart message into memory using a .
            
            An existing  instance to use for the object's content.
            A  representing the tasks of getting the result of reading the MIME content.
        
        
            
            Reads all body parts within a MIME multipart message into memory using a .
            
            An existing  instance to use for the object's content.
            The token to monitor for cancellation requests.
            A  representing the tasks of getting the result of reading the MIME content.
        
        
            
            Reads all body parts within a MIME multipart message using the provided  instance
            to determine where the contents of each body part is written. 
            
            The  with which to process the data.
            An existing  instance to use for the object's content.
            A stream provider providing output streams for where to write body parts as they are parsed.
            A  representing the tasks of getting the result of reading the MIME content.
        
        
            
            Reads all body parts within a MIME multipart message using the provided  instance
            to determine where the contents of each body part is written. 
            
            The  with which to process the data.
            An existing  instance to use for the object's content.
            A stream provider providing output streams for where to write body parts as they are parsed.
            The token to monitor for cancellation requests.
            A  representing the tasks of getting the result of reading the MIME content.
        
        
            
            Reads all body parts within a MIME multipart message using the provided  instance
            to determine where the contents of each body part is written and  as read buffer size.
            
            The  with which to process the data.
            An existing  instance to use for the object's content.
            A stream provider providing output streams for where to write body parts as they are parsed.
            Size of the buffer used to read the contents.
            A  representing the tasks of getting the result of reading the MIME content.
        
        
            
            Reads all body parts within a MIME multipart message using the provided  instance
            to determine where the contents of each body part is written and  as read buffer size.
            
            The  with which to process the data.
            An existing  instance to use for the object's content.
            A stream provider providing output streams for where to write body parts as they are parsed.
            Size of the buffer used to read the contents.
            The token to monitor for cancellation requests.
            A  representing the tasks of getting the result of reading the MIME content.
        
        
            
            Managing state for asynchronous read and write operations
            
        
        
            
            Gets the  that we read from.
            
        
        
            
            Gets the collection of parsed  instances.
            
        
        
            
            The data buffer that we use for reading data from the input stream into before processing.
            
        
        
            
            Gets the MIME parser instance used to parse the data
            
        
        
            
            Derived  class which can encapsulate an 
            or an  as an entity with media type "application/http".
            
        
        
            
            Initializes a new instance of the  class encapsulating an
            .
            
            The  instance to encapsulate.
        
        
            
            Initializes a new instance of the  class encapsulating an
            .
            
            The  instance to encapsulate.
        
        
            
            Validates whether the content contains an HTTP Request or an HTTP Response.
            
            The content to validate.
            if set to true if the content is either an HTTP Request or an HTTP Response.
            Indicates whether validation failure should result in an  or not.
            true if content is either an HTTP Request or an HTTP Response
        
        
            
            Asynchronously serializes the object's content to the given .
            
            The  to which to write.
            The associated .
            A  instance that is asynchronously serializing the object's content.
        
        
            
            Computes the length of the stream if possible.
            
            The computed length of the stream.
            true if the length has been computed; otherwise false.
        
        
            
            Releases unmanaged and - optionally - managed resources
            
            true to release both managed and unmanaged resources; false to release only unmanaged resources.
        
        
            
            Serializes the HTTP request line.
            
            Where to write the request line.
            The HTTP request.
        
        
            
            Serializes the HTTP status line.
            
            Where to write the status line.
            The HTTP response.
        
        
            
            Serializes the header fields.
            
            Where to write the status line.
            The headers to write.
        
        
            
            Gets the HTTP request message.
            
        
        
            
            Gets the HTTP response message.
            
        
        
            
            All of the existing non-abstract  implementations, namely
            , , and 
            enforce strict rules on what kinds of HTTP header fields can be added to each collection.
            When parsing the "application/http" media type we need to just get the unsorted list. It
            will get sorted later.
            
        
        
            
            Represents the HTTP Request Line and header parameters parsed by 
            and .
            
        
        
            
            Initializes a new instance of the  class.
            
        
        
            
            Gets or sets the HTTP method.
            
            
            The HTTP method.
            
        
        
            
            Gets or sets the HTTP request URI portion that is carried in the RequestLine (i.e the URI path + query).
            
            
            The request URI.
            
        
        
            
            Gets or sets the HTTP version.
            
            
            The HTTP version.
            
        
        
            
            Gets the unsorted HTTP request headers.
            
        
        
            
            Represents the HTTP Status Line and header parameters parsed by 
            and .
            
        
        
            
            Initializes a new instance of the  class.
            
        
        
            
            Gets or sets the HTTP version.
            
            
            The HTTP version.
            
        
        
            
            Gets or sets the 
            
            
            The HTTP status code
            
        
        
            
            Gets or sets the HTTP reason phrase
            
            
            The response reason phrase
            
        
        
            
            Gets the unsorted HTTP request headers.
            
        
        
            
            This implements a read-only, forward-only stream around another readable stream, to ensure
            that there is an appropriate encoding preamble in the stream.
            
        
        
            
            Maintains information about MIME body parts parsed by .
            
        
        
            
            Initializes a new instance of the  class.
            
            The stream provider.
            The max length of the MIME header within each MIME body part.
            The part's parent content
        
        
            
            Gets the part's content as an HttpContent.
            
            
            The part's content, or null if the part had no content.
            
        
        
            
            Writes the  into the part's output stream.
            
            The current segment to be written to the part's output stream.
            The token to monitor for cancellation requests.
        
        
            
            Gets the output stream.
            
            The output stream to write the body part to.
        
        
            
            Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
            
        
        
            
            Releases unmanaged and - optionally - managed resources
            
            true to release both managed and unmanaged resources; false to release only unmanaged resources.
        
        
            
            In the success case, the HttpContent is to be used after this Part has been parsed and disposed of.
            Only if Dispose has been called on a non-completed part, the parsed HttpContent needs to be disposed of as well.
            
        
        
            
            Resets the output stream by either closing it or, in the case of a  resetting
            position to 0 so that it can be read by the caller.
            
        
        
            
            Gets the header parser.
            
            
            The header parser.
            
        
        
            
            Gets the set of  pointing to the read buffer with
            contents of this body part.
            
        
        
            
            Gets or sets a value indicating whether the body part has been completed.
            
            
            true if this instance is complete; otherwise, false.
            
        
        
            
            Gets or sets a value indicating whether this is the final body part.
            
            
            true if this instance is complete; otherwise, false.
            
        
        
            
            Provides a  implementation that returns a  instance.
            This facilitates deserialization or other manipulation of the contents in memory.
            
        
        
            
            An  implementation examines the headers provided by the MIME multipart parser
            as part of the MIME multipart extension methods (see ) and decides 
            what kind of stream to return for the body part to be written to.
            
        
        
            
            Initializes a new instance of the  class.
            
        
        
            
            When a MIME multipart body part has been parsed this method is called to get a stream for where to write the body part to.
            
            The parent  MIME multipart instance.
            The header fields describing the body parts content. Looking for header fields such as 
            Content-Type and Content-Disposition can help provide the appropriate stream. In addition to using the information
            in the provided header fields, it is also possible to add new header fields or modify existing header fields. This can
            be useful to get around situations where the Content-type may say application/octet-stream but based on
            analyzing the Content-Disposition header field it is found that the content in fact is application/json, for example.
            A stream instance where the contents of a body part will be written to.
        
        
            
            Immediately upon reading the last MIME body part but before completing the read task, this method is 
            called to enable the  to do any post processing on the 
            instances that have been read. For example, it can be used to copy the data to another location, or perform
            some other kind of post processing on the data before completing the read operation.
            
            A  representing the post processing.
        
        
            
            Immediately upon reading the last MIME body part but before completing the read task, this method is 
            called to enable the  to do any post processing on the 
            instances that have been read. For example, it can be used to copy the data to another location, or perform
            some other kind of post processing on the data before completing the read operation.
            
            The token to monitor for cancellation requests.
            A  representing the post processing.
        
        
            
            Gets the collection of  instances where each instance represents a MIME body part.
            
        
        
            
            This  implementation returns a  instance.
            This facilitates deserialization or other manipulation of the contents in memory. 
            
        
        
            
            An  suited for reading MIME body parts following the
            multipart/related media type as defined in RFC 2387 (see http://www.ietf.org/rfc/rfc2387.txt).
            
        
        
            
            Looks for the "start" parameter of the parent's content type and then finds the corresponding
            child HttpContent with a matching Content-ID header field.
            
            The matching child or null if none found.
        
        
            
            Looks for a parameter in the .
            
            The matching parameter or null if none found.
        
        
            
            Gets the  instance that has been marked as the root content in the 
            MIME multipart related message using the start parameter. If no start parameter is
            present then pick the first of the children.
            
        
        
            
            Contains a value as well as an associated  that will be
            used to serialize the value when writing this content.
            
        
        
            
            Initializes a new instance of the  class.
            
            The type of object this instance will contain.
            The value of the object this instance will contain.
            The formatter to use when serializing the value.
        
        
            
            Initializes a new instance of the  class.
            
            The type of object this instance will contain.
            The value of the object this instance will contain.
            The formatter to use when serializing the value.
            The authoritative value of the content's Content-Type header. Can be null in which case the
            formatter's default content type will be used.
        
        
            
            Initializes a new instance of the  class.
            
            The type of object this instance will contain.
            The value of the object this instance will contain.
            The formatter to use when serializing the value.
            The authoritative value of the content's Content-Type header. Can be null in which case the
            formatter's default content type will be used.
        
        
            
            Asynchronously serializes the object's content to the given .
            
            The  to which to write.
            The associated .
            A  instance that is asynchronously serializing the object's content.
        
        
            
            Computes the length of the stream if possible.
            
            The computed length of the stream.
            true if the length has been computed; otherwise false.
        
        
            
            Gets the type of object managed by this  instance.
            
        
        
            
            The formatter associated with this content instance.
            
        
        
            
            Gets or sets the value of the current .
            
        
        
            
            Generic form of .
            
            The type of object this  class will contain.
        
        
            
            Initializes a new instance of the  class.
            
            The value of the object this instance will contain.
            The formatter to use when serializing the value.
        
        
            
            Initializes a new instance of the  class.
            
            The value of the object this instance will contain.
            The formatter to use when serializing the value.
            The authoritative value of the content's Content-Type header. Can be null in which case the
            formatter's default content type will be used.
        
        
            
            Initializes a new instance of the  class.
            
            The value of the object this instance will contain.
            The formatter to use when serializing the value.
            The authoritative value of the content's Content-Type header. Can be null in which case the
            formatter's default content type will be used.
        
        
            
            Provides an  implementation that exposes an output 
            which can be written to directly. The ability to push data to the output stream differs from the 
             where data is pulled and not pushed.
            
        
        
            
            Initializes a new instance of the  class. The
             action is called when an output stream
            has become available allowing the action to write to it directly. When the 
            stream is closed, it will signal to the content that is has completed and the 
            HTTP request or response will be completed.
            
            The action to call when an output stream is available.
        
        
            
            Initializes a new instance of the  class. 
            
            The action to call when an output stream is available. The stream is automatically
            closed when the return task is completed.
        
        
            
            Initializes a new instance of the  class with the given media type.
            
        
        
            
            Initializes a new instance of the  class with the given media type.
            
        
        
            
            Initializes a new instance of the  class with the given .
            
        
        
            
            Initializes a new instance of the  class with the given .
            
        
        
            
            When this method is called, it calls the action provided in the constructor with the output 
            stream to write to. Once the action has completed its work it closes the stream which will 
            close this content instance and complete the HTTP request or response.
            
            The  to which to write.
            The associated .
            A  instance that is asynchronously serializing the object's content.
        
        
            
            Computes the length of the stream if possible.
            
            The computed length of the stream.
            true if the length has been computed; otherwise false.
        
        
            
              A strongly-typed resource class, for looking up localized strings, etc.
            
        
        
            
              Returns the cached ResourceManager instance used by this class.
            
        
        
            
              Overrides the current thread's CurrentUICulture property for all
              resource lookups using this strongly typed resource class.
            
        
        
            
              Looks up a localized string similar to Async Callback threw an exception..
            
        
        
            
              Looks up a localized string similar to The IAsyncResult implementation '{0}' tried to complete a single operation multiple times. This could be caused by an incorrect application IAsyncResult implementation or other extensibility code, such as an IAsyncResult that returns incorrect CompletedSynchronously values or invokes the AsyncCallback multiple times..
            
        
        
            
              Looks up a localized string similar to End cannot be called twice on an AsyncResult..
            
        
        
            
              Looks up a localized string similar to An incorrect IAsyncResult was provided to an 'End' method. The IAsyncResult object passed to 'End' must be the one returned from the matching 'Begin' or passed to the callback provided to 'Begin'..
            
        
        
            
              Looks up a localized string similar to Found zero byte ranges. There must be at least one byte range provided..
            
        
        
            
              Looks up a localized string similar to The range unit '{0}' is not valid. The range must have a unit of '{1}'..
            
        
        
            
              Looks up a localized string similar to The stream over which '{0}' provides a range view must have a length greater than or equal to 1..
            
        
        
            
              Looks up a localized string similar to The 'From' value of the range must be less than or equal to {0}..
            
        
        
            
              Looks up a localized string similar to None of the requested ranges ({0}) overlap with the current extent of the selected resource..
            
        
        
            
              Looks up a localized string similar to The requested range ({0}) does not overlap with the current extent of the selected resource..
            
        
        
            
              Looks up a localized string similar to The stream over which '{0}' provides a range view must be seekable..
            
        
        
            
              Looks up a localized string similar to This is a read-only stream..
            
        
        
            
              Looks up a localized string similar to A null '{0}' is not valid..
            
        
        
            
              Looks up a localized string similar to The '{0}' of '{1}' cannot be used as a supported media type because it is a media range..
            
        
        
            
              Looks up a localized string similar to The '{0}' type cannot accept a null value for the value type '{1}'..
            
        
        
            
              Looks up a localized string similar to The specified value is not a valid cookie name..
            
        
        
            
              Looks up a localized string similar to Cookie cannot be null..
            
        
        
            
              Looks up a localized string similar to The '{0}' list is invalid because it contains one or more null items..
            
        
        
            
              Looks up a localized string similar to The '{0}' list is invalid because the property '{1}' of '{2}' is not null..
            
        
        
            
              Looks up a localized string similar to Error reading HTML form URL-encoded data stream..
            
        
        
            
              Looks up a localized string similar to Mismatched types at node '{0}'..
            
        
        
            
              Looks up a localized string similar to Error parsing HTML form URL-encoded data, byte {0}..
            
        
        
            
              Looks up a localized string similar to Invalid HTTP status code: '{0}'. The status code must be between {1} and {2}..
            
        
        
            
              Looks up a localized string similar to Invalid HTTP version: '{0}'. The version must start with the characters '{1}'..
            
        
        
            
              Looks up a localized string similar to The '{0}' of the '{1}' has already been read..
            
        
        
            
              Looks up a localized string similar to The '{0}' must be seekable in order to create an '{1}' instance containing an entity body.  .
            
        
        
            
              Looks up a localized string similar to Error reading HTTP message..
            
        
        
            
              Looks up a localized string similar to Invalid '{0}' instance provided. It does not have a content type header with a value of '{1}'..
            
        
        
            
              Looks up a localized string similar to HTTP Request URI cannot be an empty string..
            
        
        
            
              Looks up a localized string similar to Error parsing HTTP message header byte {0} of message {1}..
            
        
        
            
              Looks up a localized string similar to An invalid number of '{0}' header fields were present in the HTTP Request. It must contain exactly one '{0}' header field but found {1}..
            
        
        
            
              Looks up a localized string similar to Invalid URI scheme: '{0}'. The URI scheme must be a valid '{1}' scheme..
            
        
        
            
              Looks up a localized string similar to Invalid array at node '{0}'..
            
        
        
            
              Looks up a localized string similar to Traditional style array without '[]' is not supported with nested object at location {0}..
            
        
        
            
              Looks up a localized string similar to The '{0}' method returned null. It must return a JSON serializer instance..
            
        
        
            
              Looks up a localized string similar to The '{0}' method threw an exception when attempting to create a JSON serializer..
            
        
        
            
              Looks up a localized string similar to The maximum read depth ({0}) has been exceeded because the form url-encoded data being read has more levels of nesting than is allowed..
            
        
        
            
              Looks up a localized string similar to The number of keys in a NameValueCollection has exceeded the limit of '{0}'. You can adjust it by modifying the MaxHttpCollectionKeys property on the '{1}' class..
            
        
        
            
              Looks up a localized string similar to Error parsing BSON data; unable to read content as a {0}..
            
        
        
            
              Looks up a localized string similar to Error parsing BSON data; unexpected dictionary content: {0} entries, first key '{1}'..
            
        
        
            
              Looks up a localized string similar to The '{0}' method returned null. It must return a JSON reader instance..
            
        
        
            
              Looks up a localized string similar to The '{0}' method returned null. It must return a JSON writer instance..
            
        
        
            
              Looks up a localized string similar to The media type formatter of type '{0}' does not support reading because it does not implement the ReadFromStreamAsync method..
            
        
        
            
              Looks up a localized string similar to The media type formatter of type '{0}' does not support reading because it does not implement the ReadFromStream method..
            
        
        
            
              Looks up a localized string similar to The media type formatter of type '{0}' does not support writing because it does not implement the WriteToStreamAsync method..
            
        
        
            
              Looks up a localized string similar to The media type formatter of type '{0}' does not support writing because it does not implement the WriteToStream method..
            
        
        
            
              Looks up a localized string similar to No encoding found for media type formatter '{0}'. There must be at least one supported encoding registered in order for the media type formatter to read or write content..
            
        
        
            
              Looks up a localized string similar to MIME multipart boundary cannot end with an empty space..
            
        
        
            
              Looks up a localized string similar to Did not find required '{0}' header field in MIME multipart body part..
            
        
        
            
              Looks up a localized string similar to Could not determine a valid local file name for the multipart body part..
            
        
        
            
              Looks up a localized string similar to Nested bracket is not valid for '{0}' data at position {1}..
            
        
        
            
              Looks up a localized string similar to A non-null request URI must be provided to determine if a '{0}' matches a given request or response message..
            
        
        
            
              Looks up a localized string similar to No MediaTypeFormatter is available to read an object of type '{0}' from content with media type '{1}'..
            
        
        
            
              Looks up a localized string similar to An object of type '{0}' cannot be used with a type parameter of '{1}'..
            
        
        
            
              Looks up a localized string similar to The configured formatter '{0}' cannot write an object of type '{1}'..
            
        
        
            
              Looks up a localized string similar to Query string name cannot be null..
            
        
        
            
              Looks up a localized string similar to Unexpected end of HTTP message stream. HTTP message is not complete..
            
        
        
            
              Looks up a localized string similar to Invalid '{0}' instance provided. It does not have a '{1}' content-type header with a '{2}' parameter..
            
        
        
            
              Looks up a localized string similar to Invalid '{0}' instance provided. It does not have a content-type header value. '{0}' instances must have a content-type header starting with '{1}'..
            
        
        
            
              Looks up a localized string similar to Invalid '{0}' instance provided. It does not have a content type header starting with '{1}'..
            
        
        
            
              Looks up a localized string similar to Error reading MIME multipart body part..
            
        
        
            
              Looks up a localized string similar to Error writing MIME multipart body part to output stream..
            
        
        
            
              Looks up a localized string similar to Error parsing MIME multipart body part header byte {0} of data segment {1}..
            
        
        
            
              Looks up a localized string similar to Error parsing MIME multipart message byte {0} of data segment {1}..
            
        
        
            
              Looks up a localized string similar to The stream provider of type '{0}' threw an exception..
            
        
        
            
              Looks up a localized string similar to The stream provider of type '{0}' returned null. It must return a writable '{1}' instance..
            
        
        
            
              Looks up a localized string similar to The stream provider of type '{0}' returned a read-only stream. It must return a writable '{1}' instance..
            
        
        
            
              Looks up a localized string similar to Unexpected end of MIME multipart stream. MIME multipart message is not complete..
            
        
        
            
              Looks up a localized string similar to The '{0}' serializer cannot serialize the type '{1}'..
            
        
        
            
              Looks up a localized string similar to There is an unmatched opened bracket for the '{0}' at position {1}..
            
        
        
            
              Looks up a localized string similar to Indentation is not supported by '{0}'..
            
        
        
            
              Looks up a localized string similar to The object of type '{0}' returned by {1} must be an instance of either XmlObjectSerializer or XmlSerializer..
            
        
        
            
              Looks up a localized string similar to The object returned by {0} must not be a null value..
            
        
        
            
            Defines an exception type for signalling that a request's media type was not supported.
            
        
        
            
            Initializes a new instance of the  class.
            
            The message that describes the error.
            The unsupported media type.
        
        
            
              A strongly-typed resource class, for looking up localized strings, etc.
            
        
        
            
              Returns the cached ResourceManager instance used by this class.
            
        
        
            
              Overrides the current thread's CurrentUICulture property for all
              resource lookups using this strongly typed resource class.
            
        
        
            
              Looks up a localized string similar to Relative URI values are not supported: '{0}'. The URI must be absolute..
            
        
        
            
              Looks up a localized string similar to Unsupported URI scheme: '{0}'. The URI scheme must be either '{1}' or '{2}'..
            
        
        
            
              Looks up a localized string similar to Value must be greater than or equal to {0}..
            
        
        
            
              Looks up a localized string similar to Value must be less than or equal to {0}..
            
        
        
            
              Looks up a localized string similar to The argument '{0}' is null or empty..
            
        
        
            
              Looks up a localized string similar to URI must not contain a query component or a fragment identifier..
            
        
        
            
              Looks up a localized string similar to The value of argument '{0}' ({1}) is invalid for Enum type '{2}'..