WSL container API C++ reference¶
This reference documents the C++/WinRT projection in Microsoft::WSL::Containers.
Preview notice:
wslcsdk.hexplicitly marks this API as preview and subject to breaking changes.Header:
#include <winrt/Microsoft.WSL.Containers.h>Namespace:
winrt::Microsoft::WSL::Containers
The projection is layered as Session → Container → Process. Errors surface as winrt::hresult_error. Image and installation operations use IAsyncActionWithProgress<T>.