StreamContent Methods

.NET Framework (current version)
 

Namespace:   System.Net.Http
Assembly:  System.Net.Http (in System.Net.Http.dll)

NameDescription
System_CAPS_pubmethodCopyToAsync(Stream)

Serialize the HTTP content into a stream of bytes and copies it to the stream object provided as the stream parameter.(Inherited from HttpContent.)

System_CAPS_pubmethodCopyToAsync(Stream, TransportContext)

Serialize the HTTP content into a stream of bytes and copies it to the stream object provided as the stream parameter.(Inherited from HttpContent.)

System_CAPS_protmethodCreateContentReadStreamAsync()

Write the HTTP stream content to a memory stream as an asynchronous operation.(Overrides HttpContent.CreateContentReadStreamAsync().)

System_CAPS_pubmethodDispose()

Releases the unmanaged resources and disposes of the managed resources used by the HttpContent.(Inherited from HttpContent.)

System_CAPS_protmethodDispose(Boolean)

Releases the unmanaged resources used by the StreamContent and optionally disposes of the managed resources.(Overrides HttpContent.Dispose(Boolean).)

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodLoadIntoBufferAsync()

Serialize the HTTP content to a memory buffer as an asynchronous operation.(Inherited from HttpContent.)

System_CAPS_pubmethodLoadIntoBufferAsync(Int64)

Serialize the HTTP content to a memory buffer as an asynchronous operation.(Inherited from HttpContent.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodReadAsByteArrayAsync()

Serialize the HTTP content to a byte array as an asynchronous operation.(Inherited from HttpContent.)

System_CAPS_pubmethodReadAsStreamAsync()

Serialize the HTTP content and return a stream that represents the content as an asynchronous operation. (Inherited from HttpContent.)

System_CAPS_pubmethodReadAsStringAsync()

Serialize the HTTP content to a string as an asynchronous operation.(Inherited from HttpContent.)

System_CAPS_protmethodSerializeToStreamAsync(Stream, TransportContext)

Serialize the HTTP content to a stream as an asynchronous operation.(Overrides HttpContent.SerializeToStreamAsync(Stream, TransportContext).)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_protmethodTryComputeLength(Int64)

Determines whether the stream content has a valid length in bytes.(Overrides HttpContent.TryComputeLength(Int64).)

Return to top
Show: