Export (0) Print
Expand All

ActivityMetadata.RequireExtension Method

Specifies that the activity requires a specific extension at runtime.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method RequireExtension<T>() Specifies that the activity requires an extension of the specified generic type at runtime.
Public method RequireExtension(Type) Specifies that the activity requires an extension of the specified type at runtime.
Top

If the host fails to provide an extension of the specified type, validation fails.

Show:
© 2014 Microsoft