NoExceptionAttribute Classe

Definição

Indica se o tipo gera exceções.

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
Herança
NoExceptionAttribute
Atributos

Requisitos do Windows

Família de dispositivos
Windows 10, version 2004 (introduzida na 10.0.19041.0)
API contract
Windows.Foundation.FoundationContract (introduzida na v4.0)

Construtores

NoExceptionAttribute()

Cria e inicializa uma nova instância do atributo.

Aplica-se a