RemoteAsyncAttribute 类

定义

指示可以使用异步模式的异步形式传递接口。

public ref class RemoteAsyncAttribute sealed : Attribute
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.Method | System.AttributeTargets.RuntimeClass)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 65536)]
class RemoteAsyncAttribute final : Attribute
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.Method | System.AttributeTargets.RuntimeClass)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 65536)]
public sealed class RemoteAsyncAttribute : Attribute
function RemoteAsyncAttribute()
Public NotInheritable Class RemoteAsyncAttribute
Inherits Attribute
继承
RemoteAsyncAttribute
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 中引入)
API contract
Windows.Foundation.FoundationContract (在 v1.0 中引入)

构造函数

RemoteAsyncAttribute()

创建并初始化 特性的新实例。

适用于

另请参阅