NoExceptionAttribute Clase

Definición

Indica si el tipo genera excepciones.

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
Herencia
NoExceptionAttribute
Atributos

Requisitos de Windows

Familia de dispositivos
Windows 10, version 2004 (se introdujo en la versión 10.0.19041.0)
API contract
Windows.Foundation.FoundationContract (se introdujo en la versión v4.0)

Constructores

NoExceptionAttribute()

Crea e inicializa una nueva instancia del atributo .

Se aplica a