Bagikan melalui


IsolatedWindowsEnvironmentOwnerRegistration.Register Metode

Definisi

Dihentikan. Mendaftarkan pemilik Lingkungan Windows Terisolasi.

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

Parameter

ownerName
String

Platform::String

winrt::hstring

Nama pemilik Lingkungan Windows Terisolasi.

Mengembalikan

IsolatedWindowsEnvironmentOwnerRegistrationResult

Atribut

Keterangan

Peringatan

Ini adalah API yang tidak digunakan lagi.

Berlaku untuk