ActivityMetadata Structure

.NET Framework (current version)
 

Represents the set of arguments, child activities, variables, and delegates that a configured Activity introduces to the execution environment.

Namespace:   System.Activities
Assembly:  System.Activities (in System.Activities.dll)

public struct ActivityMetadata

NameDescription
System_CAPS_pubpropertyEnvironment

Gets the activity’s LocationReferenceEnvironment of arguments, variables, delegate arguments, or symbols introduced by a SymbolResolver.

System_CAPS_pubpropertyHasViolations

Gets a value that indicates whether there are any validation errors in the metadata.

NameDescription
System_CAPS_pubmethodAddArgument(RuntimeArgument)

Adds an argument to the collection of arguments of an activity.

System_CAPS_pubmethodAddDefaultExtensionProvider<T>(Func<T>)

Adds the specified extension provider to the collection of default extension providers for the activity.

System_CAPS_pubmethodAddImportedChild(Activity)

Adds the specified activity to the metadata’s list of imported child activities.

System_CAPS_pubmethodAddImportedChild(Activity, Object)

Adds the specified activity to the metadata’s list of imported child activities.

System_CAPS_pubmethodAddImportedDelegate(ActivityDelegate)

Adds the specified delegate to the metadata’s list of imported delegates.

System_CAPS_pubmethodAddImportedDelegate(ActivityDelegate, Object)

Adds the specified delegate to the metadata’s list of imported delegates.

System_CAPS_pubmethodAddValidationError(String)

Adds a validation error to the metadata’s collection of validation errors using the specified description.

System_CAPS_pubmethodAddValidationError(ValidationError)

Adds the specified validation error to the metadata’s collection of validation errors.

System_CAPS_pubmethodAddVariable(Variable)

Adds the specified variable to the metadata’s collection of variables.

System_CAPS_pubmethodAddVariable(Variable, Object)

Adds the specified variable to the metadata’s collection of variables.

System_CAPS_pubmethodBind(Argument, RuntimeArgument)

Binds the specified Argument to the specified RuntimeArgument.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to this metadata instance.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetArgumentsWithReflection()

Returns a collection of arguments obtained by using reflection.

System_CAPS_pubmethodGetHashCode()

Returns a unique identifier for this metadata instance.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetImportedChildrenWithReflection()

Returns a collection of imported child activities using reflection.

System_CAPS_pubmethodGetImportedDelegatesWithReflection()

Returns a collection of delegates using reflection.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodGetVariablesWithReflection()

Returns a collection of variables using reflection.

System_CAPS_pubmethodRequireExtension(Type)

Specifies that the activity requires an extension of the specified type at runtime.

System_CAPS_pubmethodRequireExtension<T>()

Specifies that the activity requires an extension of the specified generic type at runtime.

System_CAPS_pubmethodSetArgumentsCollection(Collection<RuntimeArgument>)

Adds the specified collection of arguments to the activity’s arguments.

System_CAPS_pubmethodSetImportedChildrenCollection(Collection<Activity>)

Adds the specified collection as imported child activities of the activity.

System_CAPS_pubmethodSetImportedDelegatesCollection(Collection<ActivityDelegate>)

Adds the specified collection as imported delegates of the activity.

System_CAPS_pubmethodSetValidationErrorsCollection(Collection<ValidationError>)

Adds the specified collection of validation errors to the metadata’s collection of validation errors.

System_CAPS_pubmethodSetVariablesCollection(Collection<Variable>)

Adds the specified collection of variables to the activity’s variables.

System_CAPS_pubmethodToString()

Returns the fully qualified type name of this instance.(Inherited from ValueType.)

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(ActivityMetadata, ActivityMetadata)

Returns a value that indicates whether the two specified metadata instances are equal.

System_CAPS_puboperatorSystem_CAPS_staticInequality(ActivityMetadata, ActivityMetadata)

Returns a value that indicates whether the two specified metadata instances are not equal.

.NET Framework
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.

Return to top
Show: