共用方式為


IsolatedWindowsEnvironmentOwnerRegistration.Register 方法

定義

已取代。 註冊隔離 Windows 環境的擁有者。

public:
 static IsolatedWindowsEnvironmentOwnerRegistrationResult ^ Register(Platform::String ^ ownerName, IsolatedWindowsEnvironmentOwnerRegistrationData ^ ownerRegistrationData);
 static IsolatedWindowsEnvironmentOwnerRegistrationResult Register(winrt::hstring const& ownerName, IsolatedWindowsEnvironmentOwnerRegistrationData const& ownerRegistrationData);
/// [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOwnerRegistration 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 IsolatedWindowsEnvironmentOwnerRegistrationResult Register(winrt::hstring const& ownerName, IsolatedWindowsEnvironmentOwnerRegistrationData const& ownerRegistrationData);
public static IsolatedWindowsEnvironmentOwnerRegistrationResult Register(string ownerName, IsolatedWindowsEnvironmentOwnerRegistrationData ownerRegistrationData);
[Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentOwnerRegistration 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 IsolatedWindowsEnvironmentOwnerRegistrationResult Register(string ownerName, IsolatedWindowsEnvironmentOwnerRegistrationData ownerRegistrationData);
function register(ownerName, ownerRegistrationData)
Public Shared Function Register (ownerName As String, ownerRegistrationData As IsolatedWindowsEnvironmentOwnerRegistrationData) As IsolatedWindowsEnvironmentOwnerRegistrationResult

參數

ownerName
String

Platform::String

winrt::hstring

隔離式 Windows 環境的擁有者名稱。

傳回

IsolatedWindowsEnvironmentOwnerRegistrationResult

屬性

備註

警告

這是已被取代的 API。

適用於