共用方式為


IsolatedWindowsEnvironmentShareFileResult.ExtendedError 屬性

定義

已取代。 發生共用檔案失敗時,這會包含與該失敗相關聯的錯誤碼。

public:
 property HResult ExtendedError { HResult get(); };
HResult ExtendedError();
/// [get: Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentShareFileResult is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")]
HResult ExtendedError();
public System.Exception ExtendedError { get; }
public System.Exception ExtendedError { [Windows.Foundation.Metadata.Deprecated("IsolatedWindowsEnvironmentShareFileResult is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 327680, "Windows.Security.Isolation.IsolatedWindowsEnvironmentContract")] get; }
var hResult = isolatedWindowsEnvironmentShareFileResult.extendedError;
Public ReadOnly Property ExtendedError As Exception

屬性值

HRESULT

屬性

備註

警告

這是已被取代的 API。

適用於