System.Runtime.InteropServices.WindowsRuntime 命名空间

包含支持托管代码与Windows 运行时之间的互操作的类,并支持使用托管代码创建Windows 运行时类型。

名称 说明
AsyncInfo

提供工厂方法,用于构造与Windows 运行时异步操作和操作兼容的托管任务的表示形式。

DefaultInterfaceAttribute

指定托管Windows 运行时类的默认接口。

DesignerNamespaceResolveEventArgs

提供事件的数据 DesignerNamespaceResolve

EventRegistrationTokenTable<T>

存储委托和事件令牌之间的映射,以支持在托管代码中实现 Windows 运行时事件。

InterfaceImplementedInVersionAttribute

指定首先实现指定接口的目标类型的版本。

NamespaceResolveEventArgs

提供事件的数据 ReflectionOnlyNamespaceResolve

ReadOnlyArrayAttribute

应用于Windows 运行时组件中的数组参数时,指定传递给该参数的数组的内容仅用于输入。 调用方期望该数组在调用中保持不变。

ReturnValueNameAttribute

指定Windows 运行时组件中方法的返回值的名称。

WindowsRuntimeBuffer

提供Windows 运行时 IBuffer 接口(Windows)的实现。Storage.Streams.IBuffer)和所有其他必需的接口。

WindowsRuntimeBufferExtensions

提供用于在Windows 运行时缓冲区(Windows)上运行的扩展方法。Storage.Streams.IBuffer 接口)。

WindowsRuntimeMarshal

提供用于在 .NET Framework 和 Windows 运行时之间封送数据的帮助程序方法。

WindowsRuntimeMetadata

提供一个事件,用于解析Windows元数据文件提供的类型的仅反射类型请求,以及用于执行解析的方法。

WriteOnlyArrayAttribute

应用于Windows 运行时组件中的数组参数时,指定传递给该参数的数组的内容仅用于输出。 调用方不保证内容已初始化,调用方法不应读取内容。

结构

名称 说明
EventRegistrationToken

将事件处理程序添加到Windows 运行时事件时返回的令牌。 令牌用于稍后从事件中删除事件处理程序。

接口

名称 说明
IActivationFactory

允许 Windows 运行时激活类。