CodeActivityMetadata Structure

.NET Framework (current version)
 

Represents the set of arguments that a configured CodeActivity introduces to the execution environment.

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

public struct CodeActivityMetadata

NameDescription
System_CAPS_pubpropertyEnvironment

Gets the activity’s LocationReferenceEnvironment of 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_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_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_pubmethodGetType()

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

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_pubmethodSetValidationErrorsCollection(Collection<ValidationError>)

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

System_CAPS_pubmethodToString()

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

NameDescription
System_CAPS_puboperatorSystem_CAPS_staticEquality(CodeActivityMetadata, CodeActivityMetadata)

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

System_CAPS_puboperatorSystem_CAPS_staticInequality(CodeActivityMetadata, CodeActivityMetadata)

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: