IsolatedWindowsEnvironment.FindByOwnerId(String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
已弃用。 返回注册到特定所有者的独立 Windows 环境的列表。
public:
static IVectorView<IsolatedWindowsEnvironment ^> ^ FindByOwnerId(Platform::String ^ environmentOwnerId);
static IVectorView<IsolatedWindowsEnvironment> FindByOwnerId(winrt::hstring const& environmentOwnerId);
/// [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironment is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
static IVectorView<IsolatedWindowsEnvironment> FindByOwnerId(winrt::hstring const& environmentOwnerId);
public static IReadOnlyList<IsolatedWindowsEnvironment> FindByOwnerId(string environmentOwnerId);
[Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironment is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
public static IReadOnlyList<IsolatedWindowsEnvironment> FindByOwnerId(string environmentOwnerId);
function findByOwnerId(environmentOwnerId)
Public Shared Function FindByOwnerId (environmentOwnerId As String) As IReadOnlyList(Of IsolatedWindowsEnvironment)
参数
- environmentOwnerId
-
String
Platform::String
winrt::hstring
独立 Windows 环境的所有者的唯一标识符。
返回
- 属性
注解
警告
这是一个已弃用的 API。