API Reference
Enum
WslDistributionFlags
Defines WSL distribution configuration flags exposed by wslapi.dll.
Inheritance
- Enum
- WslDistributionFlags
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Property WslDistributionConfigurationInfo.Flags
- Property WslDistributionConfigurationSetPlan.CurrentFlags
- Property WslDistributionConfigurationSetPlan.TargetFlags
- Property WslDistributionConfigurationSetResult.TargetFlags
- Field WslDistributionFlags.AppendNtPath
- Field WslDistributionFlags.EnableDriveMounting
- Field WslDistributionFlags.EnableInterop
- Field WslDistributionFlags.None
- Property WslDistributionInventoryInfo.ConfigurationFlags
Accepted by parameters
Inherited Methods
public override sealed Int32 CompareTo(Object target) #Returns:
Int32Inherited from Enum
Parameters
- target Object
public override sealed String ToString(String format, IFormatProvider provider) #Returns:
StringInherited from Enum
Obsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String
Values
public const WslDistributionFlags EnableInterop #Windows interoperability is enabled for the distribution.
Value:
1public const WslDistributionFlags AppendNtPath #Windows PATH entries are appended inside the distribution.
Value:
2public const WslDistributionFlags EnableDriveMounting #Windows drives are mounted inside the distribution.
Value:
4