共用方式為


IsolatedWindowsEnvironmentFile 類別

定義

已取代。 運行時間類別,封裝函式以在隔離的 Windows 環境中啟動檔案。

public ref class IsolatedWindowsEnvironmentFile sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
class IsolatedWindowsEnvironmentFile final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class IsolatedWindowsEnvironmentFile final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentFile is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
class IsolatedWindowsEnvironmentFile final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
public sealed class IsolatedWindowsEnvironmentFile
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class IsolatedWindowsEnvironmentFile
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Security.Isolation.IsolatedWindowsEnvironmentContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentFile 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 sealed class IsolatedWindowsEnvironmentFile
Public NotInheritable Class IsolatedWindowsEnvironmentFile
繼承
Object Platform::Object IInspectable IsolatedWindowsEnvironmentFile
屬性

Windows 需求

裝置系列
Windows 10, version 2004 (已於 10.0.19041.0 引進)
API contract
Windows.Security.Isolation.IsolatedWindowsEnvironmentContract (已於 v2.0 引進)

備註

警告

這是已被取代的 API。

屬性

GuestPath

已取代。 取得檔案的完整客體路徑。

HostPath

已取代。 取得檔案的完整主機路徑。

Id

已取代。 取得指派給主機檔案的標識碼。

IsReadOnly

已取代。 取得檔案的寫入許可權。

方法

Close()

已取代。 呼叫 以關閉隔離 Windows 環境中的檔案。

適用於