IsolatedWindowsEnvironment.FindByOwnerId(String) 方法

定义

已弃用。 返回注册到特定所有者的独立 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 环境的所有者的唯一标识符。

返回

IsolatedWindowsEnvironment

属性

注解

警告

这是一个已弃用的 API。

适用于