Edit

Share via


HandleInitializationContext.CreateAndInitializeHandle<THandle> Method

Definition

Creates and initializes a new instance of the handle type specified by the type parameter.

public:
generic <typename THandle>
 where THandle : System::Activities::Handle THandle CreateAndInitializeHandle();
public THandle CreateAndInitializeHandle<THandle> () where THandle : System.Activities.Handle;
member this.CreateAndInitializeHandle : unit -> 'Handle (requires 'Handle :> System.Activities.Handle)
Public Function CreateAndInitializeHandle(Of THandle As Handle) () As THandle

Type Parameters

THandle

The type of the Handle to create and initialize.

Returns

THandle

A new initialized instance of the handle type specified by the type parameter.

Applies to