This documentation is archived and is not being maintained.
CodeActivityMetadata Structure
Visual Studio 2010
Represents the set of arguments that a configured CodeActivity introduces to the execution environment.
Assembly: System.Activities (in System.Activities.dll)
The CodeActivityMetadata type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | Environment | Gets the activity’s LocationReferenceEnvironment of arguments or symbols introduced by a SymbolResolver. |
![]() | HasViolations | Gets a value that indicates whether there are any validation errors in the metadata. |
| Name | Description | |
|---|---|---|
![]() | AddArgument | Adds an argument to the collection of arguments of an activity. |
![]() | AddDefaultExtensionProvider<T> | Adds the specified extension provider to the collection of default extension providers for the activity. |
![]() | AddValidationError(String) | Adds a validation error to the metadata’s collection of validation errors using the specified description. |
![]() | AddValidationError(ValidationError) | Adds the specified validation error to the metadata’s collection of validation errors. |
![]() | Bind | Binds the specified Argument to the specified RuntimeArgument. |
![]() | Equals | Determines whether the specified object is equal to this metadata instance. (Overrides ValueType::Equals(Object).) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetArgumentsWithReflection | Returns a collection of arguments obtained by using reflection. |
![]() | GetHashCode | Returns a unique identifier for this metadata instance. (Overrides ValueType::GetHashCode().) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | RequireExtension(Type) | Specifies that the activity requires an extension of the specified type at runtime. |
![]() | RequireExtension<T>() | Specifies that the activity requires an extension of the specified generic type at runtime. |
![]() | SetArgumentsCollection | Adds the specified collection of arguments to the activity’s arguments. |
![]() | SetValidationErrorsCollection | Adds the specified collection of validation errors to the metadata’s collection of validation errors. |
![]() | ToString | Returns the fully qualified type name of this instance. (Inherited from ValueType.) |
| Name | Description | |
|---|---|---|
![]() ![]() | Equality | Returns a value that indicates whether the two specified metadata instances are equal. |
![]() ![]() | Inequality | Returns a value that indicates whether the two specified metadata instances are not equal. |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
