WindowsRuntimeStorageExtensions Class

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

For apps that target Windows Phone OS 7.0 and 7.1, do not use any members of this type in your app. If you do, your code will throw a MethodAccessException. This type is security-critical, which restricts it to internal use by the .NET Framework for Windows Phone class library.

Inheritance Hierarchy

System..::.Object
System.IO..::.WindowsRuntimeStorageExtensions

Namespace: System.IO
Assembly: System.Runtime.WindowsRuntime (in System.Runtime.WindowsRuntime.dll)

Syntax

<ExtensionAttribute> _
<SecurityCriticalAttribute> _
Public NotInheritable Class WindowsRuntimeStorageExtensions
[SecurityCriticalAttribute]
public static class WindowsRuntimeStorageExtensions

Methods

Name Description
OpenStreamForReadAsync(IStorageFile)
OpenStreamForReadAsync(IStorageFolder, String)
OpenStreamForWriteAsync(IStorageFile)
OpenStreamForWriteAsync(IStorageFolder, String, CreationCollisionOption)

Top

Version Information

Windows Phone OS

Supported in: 8.1, 8.0

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System.IO Namespace