NoExceptionAttribute クラス

定義

型で例外が発生するかどうかを示します。

public ref class NoExceptionAttribute sealed : Attribute
/// [Windows.Foundation.Metadata.AttributeName("noexcept")]
/// [Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.Method | System.AttributeTargets.Property)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.FoundationContract, 262144)]
class NoExceptionAttribute final : Attribute
[Windows.Foundation.Metadata.AttributeName("noexcept")]
[Windows.Foundation.Metadata.AttributeUsage(System.AttributeTargets.Method | System.AttributeTargets.Property)]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.FoundationContract), 262144)]
public sealed class NoExceptionAttribute : Attribute
function NoExceptionAttribute()
Public NotInheritable Class NoExceptionAttribute
Inherits Attribute
継承
NoExceptionAttribute
属性

Windows の要件

デバイス ファミリ
Windows 10, version 2004 (10.0.19041.0 で導入)
API contract
Windows.Foundation.FoundationContract (v4.0 で導入)

コンストラクター

NoExceptionAttribute()

属性の新しいインスタンスを作成して初期化します。

適用対象