共用方式為


HandleInitializationContext.CreateAndInitializeHandle<THandle> 方法

定義

建立並初始化型別參數所指定之處理型別的新執行個體。

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

類型參數

THandle

要建立和初始化的 Handle 型別。

傳回

THandle

型別參數所指定之處理型別的新初始化執行個體。

適用於