System.Runtime.InteropServices.WindowsRuntime Namespace
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The System.Runtime.InteropServices.WindowsRuntime namespace contains classes that support interoperation between managed code and the Windows Runtime, and that enable the creation of Windows Runtime types with managed code.
| Class | Description | |
|---|---|---|
![]() | AsyncInfo | Provides factory methods to construct representations of managed tasks that are compatible with Windows Runtime asynchronous actions and operations. |
![]() | DefaultInterfaceAttribute | Specifies the default interface of a managed Windows Runtime class. |
![]() | EventRegistrationTokenTable<T> | Stores mappings between delegates and event tokens, to support the implementation of a Windows Runtime event in managed code. |
![]() | InterfaceImplementedInVersionAttribute | Specifies the version of the target type that first implemented the specified interface. |
![]() | ReadOnlyArrayAttribute | When applied to an array parameter in a Windows Runtime component, specifies that the contents of the array that is passed to that parameter are used only for input. The caller expects the array to be unchanged by the call. See the Remarks section for important information about callers that are written using managed code. |
![]() | ReturnValueNameAttribute | |
![]() | WindowsRuntimeBuffer | Provides an implementation of the Windows RuntimeIBuffer interface (Windows.Storage.Streams.IBuffer), and all additional required interfaces. |
![]() | WindowsRuntimeBufferExtensions | Provides extension methods for operating on Windows Runtime buffers (Windows.Storage.Streams.IBuffer interface). |
![]() | WindowsRuntimeMarshal | |
![]() | WriteOnlyArrayAttribute | When applied to an array parameter in a Windows Runtime component, specifies that the contents of an array that is passed to that parameter are used only for output. The caller does not guarantee that the contents are initialized, and the called method should not read the contents. See the Remarks section for important information about callers that are written using managed code. |
| Structure | Description | |
|---|---|---|
![]() | EventRegistrationToken | A token that is returned when an event handler is added to a Windows Runtime event. The token is used to remove the event handler from the event at a later time. |
| Interface | Description | |
|---|---|---|
![]() | IActivationFactory | Enables classes to be activated by the Windows Runtime. |
Show:


