Udostępnij za pośrednictwem


Klasa WarningEventArgs

Reprezentuje argumentów zdarzeń ostrzeżenie, że wystąpił podczas wykonywania badania.

Hierarchia dziedziczenia

Object
  EventArgs
    Microsoft.VisualStudio.TestTools.Common.WarningEventArgs

Przestrzeń nazw:  Microsoft.VisualStudio.TestTools.Common
Zestaw:  Microsoft.VisualStudio.QualityTools.Common (w Microsoft.VisualStudio.QualityTools.Common.dll)

Składnia

'Deklaracja
<SerializableAttribute> _
Public Class WarningEventArgs _
    Inherits EventArgs
[SerializableAttribute]
public class WarningEventArgs : EventArgs
[SerializableAttribute]
public ref class WarningEventArgs : public EventArgs
[<SerializableAttribute>]
type WarningEventArgs =  
    class 
        inherit EventArgs 
    end
public class WarningEventArgs extends EventArgs

Typ WarningEventArgs uwidacznia następujące elementy członkowskie.

Konstruktorzy

  Nazwa Opis
Metoda publiczna WarningEventArgs Inicjuje nowe wystąpienie WarningEventArgs klasy przy użyciu dostarczonego komunikat ostrzegawczy.

Początek

Właściwości

  Nazwa Opis
Właściwość publiczna Warning Pobiera komunikat ostrzegawczy.

Początek

Metody

  Nazwa Opis
Metoda publiczna Equals Determines whether the specified object is equal to the current object. (Odziedziczone z Object).
Metoda chroniona Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Odziedziczone z Object).
Metoda publiczna GetHashCode Serves as the default hash function. (Odziedziczone z Object).
Metoda publiczna GetType Gets the Type of the current instance. (Odziedziczone z Object).
Metoda chroniona MemberwiseClone Creates a shallow copy of the current Object. (Odziedziczone z Object).
Metoda publiczna ToString Returns a string that represents the current object. (Odziedziczone z Object).

Początek

Bezpieczeństwo wątku

Wszystkie publiczne static (Shared w języku Visual Basic) elementy członkowskie tego typu są bezpieczne dla wątków. Wystąpienia elementów członkowskich nie dają gwarancji bezpieczeństwa wątków.

Zobacz też

Informacje

Przestrzeń nazw Microsoft.VisualStudio.TestTools.Common