IsolatedStorageFileStream.Handle 属性

定义

注意

This property has been deprecated. Please use IsolatedStorageFileStream's SafeFileHandle property instead. http://go.microsoft.com/fwlink/?linkid=14202

注意

This property has been deprecated. Please use IsolatedStorageFileStream's SafeFileHandle property instead. https://go.microsoft.com/fwlink/?linkid=14202

获取当前 IsolatedStorageFileStream 对象封装的文件的文件句柄。 不允许在对象上 IsolatedStorageFileStream 访问此属性,并引发一个 IsolatedStorageException

public:
 virtual property IntPtr Handle { IntPtr get(); };
public override IntPtr Handle { get; }
[System.Obsolete("This property has been deprecated.  Please use IsolatedStorageFileStream's SafeFileHandle property instead.  http://go.microsoft.com/fwlink/?linkid=14202")]
public override IntPtr Handle { get; }
[System.Obsolete("This property has been deprecated.  Please use IsolatedStorageFileStream's SafeFileHandle property instead.  http://go.microsoft.com/fwlink/?linkid=14202")]
public override IntPtr Handle { [System.Security.SecurityCritical] get; }
[System.Obsolete("This property has been deprecated.  Please use IsolatedStorageFileStream's SafeFileHandle property instead.  https://go.microsoft.com/fwlink/?linkid=14202")]
public override IntPtr Handle { get; }
member this.Handle : nativeint
[<System.Obsolete("This property has been deprecated.  Please use IsolatedStorageFileStream's SafeFileHandle property instead.  http://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Handle : nativeint
[<System.Obsolete("This property has been deprecated.  Please use IsolatedStorageFileStream's SafeFileHandle property instead.  http://go.microsoft.com/fwlink/?linkid=14202")>]
[<get: System.Security.SecurityCritical>]
member this.Handle : nativeint
[<System.Obsolete("This property has been deprecated.  Please use IsolatedStorageFileStream's SafeFileHandle property instead.  https://go.microsoft.com/fwlink/?linkid=14202")>]
member this.Handle : nativeint
Public Overrides ReadOnly Property Handle As IntPtr

属性值

IntPtr

nativeint

当前 IsolatedStorageFileStream 对象封装的文件的文件句柄。

属性

例外

Handle 属性始终生成此异常。

注解

有关详细信息,请参阅 Handle

适用于