System.Runtime.InteropServices.WindowsRuntime Namespace

.NET Framework 4.5

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
Public class Supported in .NET for Windows Store apps AsyncInfo Provides factory methods to construct representations of managed tasks that are compatible with Windows Runtime asynchronous actions and operations.
Public class Supported in .NET for Windows Store apps DefaultInterfaceAttribute Specifies the default interface of a managed Windows Runtime class.
Public class DesignerNamespaceResolveEventArgs Infrastructure. Provides data for the WindowsRuntimeMetadata.DesignerNamespaceResolve event.
Public class Supported in .NET for Windows Store apps EventRegistrationTokenTable<T> Stores mappings between delegates and event tokens, to support the implementation of a Windows Runtime event in managed code.
Public class Supported in .NET for Windows Store apps InterfaceImplementedInVersionAttribute Specifies the version of the target type that first implemented the specified interface.
Public class NamespaceResolveEventArgs Provides data for the WindowsRuntimeMetadata.ReflectionOnlyNamespaceResolve event.
Public class 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.
Public class Supported in .NET for Windows Store apps ReturnValueNameAttribute Specifies the name of the return value of a method in a Windows Runtime component.
Public class Supported in .NET for Windows Store apps WindowsRuntimeBuffer Provides an implementation of the Windows Runtime IBuffer interface (Windows.Storage.Streams.IBuffer), and all additional required interfaces.
Public class Supported in .NET for Windows Store apps WindowsRuntimeBufferExtensions Provides extension methods for operating on Windows Runtime buffers (Windows.Storage.Streams.IBuffer interface).
Public class Supported in .NET for Windows Store apps WindowsRuntimeMarshal Infrastructure. Provides helper methods for marshaling data between the .NET Framework and the Windows Runtime.
Public class WindowsRuntimeMetadata Provides an event for resolving reflection-only type requests for types that are provided by Windows Metadata files, and methods for performing the resolution.
Public class 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
Public structure Supported in .NET for Windows Store apps 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
Public interface Supported in .NET for Windows Store apps IActivationFactory Enables classes to be activated by the Windows Runtime.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft