ObjectContent(Of T) Class
Generic form of ObjectContent.
Namespace: System.Net.Http
Assembly: System.Net.Http.Formatting (in System.Net.Http.Formatting.dll)
The ObjectContent(Of T) type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ObjectContent(Of T)(T, MediaTypeFormatter) | Initializes a new instance of the ObjectContent(Of T) class. |
![]() | ObjectContent(Of T)(T, MediaTypeFormatter, MediaTypeHeaderValue) | Initializes a new instance of the <see cref="T:System.Net.Http.ObjectContent`1" /> class. |
![]() | ObjectContent(Of T)(T, MediaTypeFormatter, String) | Initializes a new instance of the ObjectContent(Of T) class. |
| Name | Description | |
|---|---|---|
![]() | Formatter | Gets the media-type formatter associated with this content instance. (Inherited from ObjectContent.) |
![]() | Headers | (Inherited from HttpContent.) |
![]() | ObjectType | Gets the type of object managed by this ObjectContent instance. (Inherited from ObjectContent.) |
![]() | Value | Gets or sets the value of the content. (Inherited from ObjectContent.) |
| Name | Description | |
|---|---|---|
![]() | CopyToAsync(Stream) | (Inherited from HttpContent.) |
![]() | CopyToAsync(Stream, TransportContext) | (Inherited from HttpContent.) |
![]() | CreateContentReadStreamAsync | (Inherited from HttpContent.) |
![]() | Dispose | (Inherited from HttpContent.) |
![]() | Dispose(Boolean) | (Inherited from HttpContent.) |
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | (Inherited from Object.) |
![]() | GetHashCode | (Inherited from Object.) |
![]() | GetType | (Inherited from Object.) |
![]() | LoadIntoBufferAsync | (Inherited from HttpContent.) |
![]() | LoadIntoBufferAsync(Int64) | (Inherited from HttpContent.) |
![]() | MemberwiseClone | (Inherited from Object.) |
![]() | ReadAsByteArrayAsync | (Inherited from HttpContent.) |
![]() | ReadAsStreamAsync | (Inherited from HttpContent.) |
![]() | ReadAsStringAsync | (Inherited from HttpContent.) |
![]() | SerializeToStreamAsync | Asynchronously serializes the object's content to the given stream. (Inherited from ObjectContent.) |
![]() | ToString | (Inherited from Object.) |
![]() | TryComputeLength | Computes the length of the stream if possible. (Inherited from ObjectContent.) |
| Name | Description | |
|---|---|---|
![]() | IsFormData | Determines whether the specified content is HTML form URL-encoded data. (Defined by HttpContentFormDataExtensions.) |
![]() | IsHttpRequestMessageContent | Determines whether the specified content is HTTP request message content. (Defined by HttpContentMessageExtensions.) |
![]() | IsHttpResponseMessageContent | Determines whether the specified content is HTTP response message content. (Defined by HttpContentMessageExtensions.) |
![]() | IsMimeMultipartContent | Overloaded. Determines whether the specified content is MIME multipart content. (Defined by HttpContentMultipartExtensions.) |
![]() | IsMimeMultipartContent(String) | Overloaded. Determines whether the specified content is MIME multipart content with the specified subtype. (Defined by HttpContentMultipartExtensions.) |
![]() | ReadAsAsync(Type) | Overloaded. Returns a Task that will yield an object of the specified type from the content instance. (Defined by HttpContentExtensions.) |
![]() | ReadAsAsync(Type, IEnumerable(Of MediaTypeFormatter)) | Overloaded. Returns a Task that will yield an object of the specified type from the content instance using one of the provided formatters to deserialize the content. (Defined by HttpContentExtensions.) |
![]() | ReadAsAsync(Type, IEnumerable(Of MediaTypeFormatter), IFormatterLogger) | Overloaded. Returns a Task that will yield an object of the specified type from the content instance using one of the provided formatters to deserialize the content. (Defined by HttpContentExtensions.) |
![]() | ReadAsAsync(Of T) | Overloaded. Returns a Task that will yield an object of the specified type <typeparamref name="T" /> from the content instance. (Defined by HttpContentExtensions.) |
![]() | ReadAsAsync(Of T)(IEnumerable(Of MediaTypeFormatter)) | Overloaded. Returns a Task that will yield an object of the specified type <typeparamref name="T" /> from the content instance. (Defined by HttpContentExtensions.) |
![]() | ReadAsAsync(Of T)(IEnumerable(Of MediaTypeFormatter), IFormatterLogger) | Overloaded. Returns a Task that will yield an object of the specified type <typeparamref name="T" /> from the content instance. (Defined by HttpContentExtensions.) |
![]() | ReadAsFormDataAsync | Asynchronously reads HTML form URL-encoded from an HttpContent instance and stores the results in a NameValueCollection object. (Defined by HttpContentFormDataExtensions.) |
![]() | ReadAsHttpRequestMessageAsync | Overloaded. Reads the HttpContent as an HttpRequestMessage. (Defined by HttpContentMessageExtensions.) |
![]() | ReadAsHttpRequestMessageAsync(String) | Overloaded. Reads the HttpContent as an HttpRequestMessage. (Defined by HttpContentMessageExtensions.) |
![]() | ReadAsHttpRequestMessageAsync(String, Int32) | Overloaded. Reads the HttpContent as an HttpRequestMessage. (Defined by HttpContentMessageExtensions.) |
![]() | ReadAsHttpRequestMessageAsync(String, Int32, Int32) | Overloaded. Reads the HttpContent as an HttpRequestMessage. (Defined by HttpContentMessageExtensions.) |
![]() | ReadAsHttpResponseMessageAsync | Overloaded. Reads the HttpContent as an HttpResponseMessage. (Defined by HttpContentMessageExtensions.) |
![]() | ReadAsHttpResponseMessageAsync(Int32) | Overloaded. Reads the HttpContent as an HttpResponseMessage. (Defined by HttpContentMessageExtensions.) |
![]() | ReadAsHttpResponseMessageAsync(Int32, Int32) | Overloaded. Reads the HttpContent as an HttpResponseMessage. (Defined by HttpContentMessageExtensions.) |
![]() | ReadAsMultipartAsync | Overloaded. Reads all body parts within a MIME multipart message and produces a set of HttpContent instances as a result. (Defined by HttpContentMultipartExtensions.) |
![]() | ReadAsMultipartAsync(Of T)(T) | Overloaded. Reads all body parts within a MIME multipart message and produces a set of HttpContent instances as a result using the streamProvider instance to determine where the contents of each body part is written. (Defined by HttpContentMultipartExtensions.) |
![]() | ReadAsMultipartAsync(Of T)(T, Int32) | Overloaded. Reads all body parts within a MIME multipart message and produces a set of HttpContent instances as a result using the streamProvider instance to determine where the contents of each body part is written and bufferSize as read buffer size. (Defined by HttpContentMultipartExtensions.) |
