HttpGetBufferResult HttpGetBufferResult HttpGetBufferResult HttpGetBufferResult HttpGetBufferResult Class

Definition

Combines the final buffer result along with the following: the original HTTP request, the resulting HTTP response (if any), an extended error value, and a succeeded indication.

public : sealed class HttpGetBufferResult : IClosable, IStringable
struct winrt::Windows::Web::Http::HttpGetBufferResult : IClosable, IStringable
public sealed class HttpGetBufferResult : IDisposable, IStringable
Public NotInheritable Class HttpGetBufferResult Implements IDisposable, IStringable
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10, version 1903 (introduced v10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v8)

Remarks

The HttpGetBufferResult is the return result from a call to HttpClient TryGetBufferAsync

Properties

ExtendedError ExtendedError ExtendedError ExtendedError ExtendedError

The extended error code for an HTTP request.

RequestMessage RequestMessage RequestMessage RequestMessage RequestMessage

Gets the request message that led to this HttpGetBufferResult.

ResponseMessage ResponseMessage ResponseMessage ResponseMessage ResponseMessage

Gets the HTTP response message including headers, the status code, and data.

Succeeded Succeeded Succeeded Succeeded Succeeded

Gets whether the HTTP request was successful.

Value Value Value Value Value

The returned data from an HTTP request as an IBuffer.

Methods

Close() Close() Close() Close() Close()

Closes the HttpGetBufferResult instance and releases allocated resources.

Dispose() Dispose() Dispose() Dispose() Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

ToString() ToString() ToString() ToString() ToString()

Returns a string that represents the current HttpGetBufferResult object.

See also