Share via


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 です。

適用対象