Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Provides a custom stream to replace the standard stream for receiving an HTTP response.
Syntax
HRESULT SetCustomResponseStream(
  ISequentialStream *pSequentialStream
);
Parameters
pSequentialStream
Custom stream that will receive the HTTP response. ISequentialStream
Return value
Returns S_OK on success.
Remarks
After this method is called, IXMLHTTPRequest2 will call the ISequentialStream::Write method when it receives response data from the server. You can begin processing the data at that time, but avoid heavy processing because the call is made inline to receiving further data from the server. Because this IXMLHTTPRequest2 never calls ISequentialStream::Read on the custom stream, it is safe to return E_NOTIMPL if the application does not need to use ISequentialStream::Read.
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows 8 [desktop apps | UWP apps],MSXML 6.0 and later | 
| Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] | 
| Target Platform | Windows | 
| Header | msxml6.h |