Redigera

Dela via


CodeActivityMetadata.RequireExtension Method

Definition

Overloads

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.

RequireExtension(Type)

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

public:
 void RequireExtension(Type ^ extensionType);
public void RequireExtension (Type extensionType);
member this.RequireExtension : Type -> unit
Public Sub RequireExtension (extensionType As Type)

Parameters

extensionType
Type

The type of the extension.

Remarks

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

Applies to

RequireExtension<T>()

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

public:
generic <typename T>
 where T : class void RequireExtension();
public void RequireExtension<T> () where T : class;
member this.RequireExtension : unit -> unit (requires 'T : null)
Public Sub RequireExtension(Of T As Class) ()

Type Parameters

T

The type of the extension.

Remarks

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

Applies to