Freigeben über


NoExceptionAttribute Klasse

Definition

Gibt an, ob der Typ Ausnahmen auslöst.

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
Vererbung
NoExceptionAttribute
Attribute

Windows-Anforderungen

Anforderungen Beschreibung
Gerätefamilie
Windows 10, version 2004 (eingeführt in 10.0.19041.0)
API contract
Windows.Foundation.FoundationContract (eingeführt in v4.0)

Konstruktoren

Name Beschreibung
NoExceptionAttribute()

Erstellt und initialisiert eine neue instance des Attributs.

Gilt für: