ActivityCodeGeneratorAttribute Klasa

Definicja

Uwaga

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

Wskazuje typ, który ma być używany do generowania kodu dla działania. Klasa ta nie może być dziedziczona.

public ref class ActivityCodeGeneratorAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=false, Inherited=true)]
public sealed class ActivityCodeGeneratorAttribute : 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 ActivityCodeGeneratorAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Interface, AllowMultiple=false, Inherited=true)>]
type ActivityCodeGeneratorAttribute = 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 ActivityCodeGeneratorAttribute = class
    inherit Attribute
Public NotInheritable Class ActivityCodeGeneratorAttribute
Inherits Attribute
Dziedziczenie
ActivityCodeGeneratorAttribute
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.

Konstruktory

Nazwa Opis
ActivityCodeGeneratorAttribute(String)
Przestarzałe.

Inicjuje ActivityCodeGeneratorAttribute nowe wystąpienie klasy, a także inicjuje element CodeGeneratorTypeName.

ActivityCodeGeneratorAttribute(Type)
Przestarzałe.

Inicjuje nowe wystąpienie ActivityCodeGeneratorAttribute klasy z generatora Typekodu .

Właściwości

Nazwa Opis
CodeGeneratorTypeName
Przestarzałe.

Pobiera nazwę generatora Type kodu, na podstawie którego jest oparte to wystąpienie.

TypeId
Przestarzałe.

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

(Odziedziczone po Attribute)

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