ActivityValidatorAttribute Klasa

Definicja

Uwaga

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

Identyfikuje klasę, która przeprowadza walidację na Activity, która podlega weryfikacji. Klasa ta nie może być dziedziczona.

public ref class ActivityValidatorAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=false, Inherited=true)]
public sealed class ActivityValidatorAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=false, Inherited=true)]
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public sealed class ActivityValidatorAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=false, Inherited=true)>]
type ActivityValidatorAttribute = class
    inherit Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=false, Inherited=true)>]
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type ActivityValidatorAttribute = class
    inherit Attribute
Public NotInheritable Class ActivityValidatorAttribute
Inherits Attribute
Dziedziczenie
ActivityValidatorAttribute
Atrybuty

Uwagi

Note

W tym materiale omówiono typy i przestrzenie nazw, które są przestarzałe. Aby uzyskać więcej informacji, zobacz Deprecated Types in Windows Workflow Foundation 4.5.

Aby uzyskać listę początkowych wartości właściwości dla wystąpienia ActivityValidatorAttribute klasy, zobacz ActivityValidatorAttribute konstruktor.

Konstruktory

Nazwa Opis
ActivityValidatorAttribute(String)
Przestarzałe.

Inicjuje wystąpienie ActivityValidatorAttribute klasy przy użyciu typu modułu sprawdzania poprawności.

ActivityValidatorAttribute(Type)
Przestarzałe.

Inicjuje nowe wystąpienie ActivityValidatorAttribute klasy przy użyciu określonej nazwy typu modułu sprawdzania poprawności.

Właściwości

Nazwa Opis
TypeId
Przestarzałe.

Po zaimplementowaniu w klasie pochodnej pobiera unikatowy identyfikator dla tego Attribute.

(Odziedziczone po Attribute)
ValidatorTypeName
Przestarzałe.

Pobiera nazwę typu skojarzonej Validator klasy.

Metody

Nazwa Opis
Equals(Object)
Przestarzałe.

Zwraca wartość wskazującą, czy to wystąpienie jest równe określonemu obiektowi.

(Odziedziczone po Attribute)
GetHashCode()
Przestarzałe.

Zwraca kod skrótu dla tego wystąpienia.

(Odziedziczone po Attribute)
GetType()
Przestarzałe.

Pobiera Type bieżącego wystąpienia.

(Odziedziczone po Object)
IsDefaultAttribute()
Przestarzałe.

Po zastąpieniu w klasie pochodnej wskazuje, czy wartość tego wystąpienia jest wartością domyślną dla klasy pochodnej.

(Odziedziczone po Attribute)
Match(Object)
Przestarzałe.

Po zastąpieniu w klasie pochodnej zwraca wartość wskazującą, czy to wystąpienie jest równe określonemu obiektowi.

(Odziedziczone po Attribute)
MemberwiseClone()
Przestarzałe.

Tworzy płytkią kopię bieżącego Object.

(Odziedziczone po Object)
ToString()
Przestarzałe.

Zwraca ciąg reprezentujący bieżący obiekt.

(Odziedziczone po Object)

Jawne implementacje interfejsu

Nazwa Opis
_Attribute.GetIDsOfNames(Guid, IntPtr, UInt32, UInt32, IntPtr)
Przestarzałe.

Zestaw nazw jest mapowany na odpowiedni zestaw identyfikatorów wysyłania.

(Odziedziczone po Attribute)
_Attribute.GetTypeInfo(UInt32, UInt32, IntPtr)
Przestarzałe.

Pobiera informacje o typie obiektu, którego można użyć do uzyskania informacji o typie dla interfejsu.

(Odziedziczone po Attribute)
_Attribute.GetTypeInfoCount(UInt32)
Przestarzałe.

Pobiera informację o liczbie typów interfejsów, jakie zawiera obiekt (0 lub 1).

(Odziedziczone po Attribute)
_Attribute.Invoke(UInt32, Guid, UInt32, Int16, IntPtr, IntPtr, IntPtr, IntPtr)
Przestarzałe.

Zapewnia dostęp do właściwości i metod uwidocznionych przez obiekt.

(Odziedziczone po Attribute)

Dotyczy