CodeActivityMetadata Structure
Represents the set of arguments that a configured CodeActivity introduces to the execution environment.
Assembly: System.Activities (in System.Activities.dll)
| 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(RuntimeArgument^) | Adds an argument to the collection of arguments of an activity. |
![]() | AddDefaultExtensionProvider<T>(Func<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(Argument^, RuntimeArgument^) | Binds the specified Argument to the specified RuntimeArgument. |
![]() | Equals(Object^) | Determines whether the specified object is equal to this metadata instance.(Overrides ValueType::Equals(Object^).) |
![]() | GetArgumentsWithReflection() | Returns a collection of arguments obtained by using reflection. |
![]() | GetHashCode() | Returns a unique identifier for this metadata instance.(Overrides ValueType::GetHashCode().) |
![]() | GetType() | |
![]() | 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(Collection<RuntimeArgument^>^) | Adds the specified collection of arguments to the activity’s arguments. |
![]() | SetValidationErrorsCollection(Collection<ValidationError^>^) | 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(CodeActivityMetadata, CodeActivityMetadata) | Returns a value that indicates whether the two specified metadata instances are equal. |
![]() ![]() | Inequality(CodeActivityMetadata, CodeActivityMetadata) | Returns a value that indicates whether the two specified metadata instances are not equal. |
Available since 4.0
Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.



