HttpGetInputStreamResult Class
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.
Combines the final input stream result along with following: the original HTTP request, the resulting HTTP response (if any), an extended error value, and a succeeded indication.
public ref class HttpGetInputStreamResult sealed : IClosable, IStringable
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 524288)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class HttpGetInputStreamResult final : IClosable, IStringable
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 524288)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class HttpGetInputStreamResult : System.IDisposable, IStringable
Public NotInheritable Class HttpGetInputStreamResult
Implements IDisposable, IStringable
- Inheritance
- Attributes
- Implements
Device family |
Windows 10, version 1903 (introduced in 10.0.18362.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v8.0)
|
The HttpGetInputStreamResult is the return result from a call to HttpClient TryGetInputStreamAsync
Extended |
The extended error code for an HTTP request. |
Request |
Gets the request message that led to this HttpGetInputStreamResult. |
Response |
Gets the HTTP response message including headers, the status code, and data. |
Succeeded |
Gets whether the HTTP request was successful. |
Value |
The returned data from an HTTP request as an IInputStream. |
Close() |
Closes the HttpGetInputStreamResult instance and releases allocated resources. |
Dispose() |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. |
To |
Returns a string that represents the current HttpGetInputStreamResult object. |
Product | Versions |
---|---|
WinRT | Build 18362, Build 19041, Build 20348, Build 22000, Build 22621, Build 26100 |