IsolatedWindowsEnvironmentOwnerRegistration.Register 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
已取代。 註冊隔離 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 環境的擁有者名稱。
- ownerRegistrationData
- IsolatedWindowsEnvironmentOwnerRegistrationData
傳回
IsolatedWindowsEnvironmentOwnerRegistrationResult
- 屬性
備註
警告
這是已被取代的 API。