Share via


Proprietà ExpectedExceptionBaseAttribute.NoExceptionMessage

Questa API supporta l'infrastruttura .NET Framework e non deve essere utilizzata direttamente dal codice.

Spazio dei nomi:  Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:  Microsoft.VisualStudio.QualityTools.UnitTestFramework (in Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll)

Sintassi

'Dichiarazione
Protected Friend Overridable ReadOnly Property NoExceptionMessage As String
protected internal virtual string NoExceptionMessage { get; }
protected public:
virtual property String^ NoExceptionMessage {
    String^ get ();
}
abstract NoExceptionMessage : string with get
override NoExceptionMessage : string with get
function get NoExceptionMessage () : String

Valore proprietà

Tipo: System.String

Note

Se il test ha esito negativo perché un'eccezione non è stata generata un'eccezione, questo messaggio è incluso nel risultato del test.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

ExpectedExceptionBaseAttribute Classe

Spazio dei nomi Microsoft.VisualStudio.TestTools.UnitTesting