RequestBody Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ref class RequestBody abstract : IDisposable
public abstract class RequestBody : IDisposable
type RequestBody = class
interface IDisposable
Public MustInherit Class RequestBody
Implements IDisposable
- Inheritance
-
RequestBody
- Derived
- Implements
Constructors
| Name | Description |
|---|---|
| RequestBody() | |
Methods
| Name | Description |
|---|---|
| CreateFromStream(Stream) |
Creates an instance of RequestBody that wraps a Stream. |
| Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
| TryComputeLength(Int64) |
Attempts to compute the length of the underlying content, if available. |
| WriteTo(Stream, CancellationToken) |
Writes contents of this object to an instance of Stream. |
| WriteToAsync(Stream, CancellationToken) |
Writes contents of this object to an instance of Stream. |